README.md852 B
View on GitHubSource Provisioning
Demonstrates JIT (Just-in-Time) source provisioning from both local and remote sources.
Components
| Component | Source Type | URI |
|---|---|---|
weather | Local | ../demo-library/weather |
ipinfo | Remote | github.com/cloudposse/atmos//examples/demo-library/ipinfo |
Usage
cd examples/source-provisioning
# Local source - no network required
atmos terraform plan weather --stack dev
# Remote source - vendors from GitHub
atmos terraform plan ipinfo --stack dev
# List provisioned workdirs
atmos terraform workdir list
Key Concepts
- Local Paths - Relative paths like
../demo-library/weather - Remote URIs - GitHub URLs with version pinning
- Workdir Isolation - Both types provision to
.workdir/
Cleanup
rm -rf .workdir/