Skip to main content
EXAMPLE

Source Provisioning

Demonstrates JIT (Just-in-Time) [source provisioning](https://atmos.tools/cli/commands/terraform/source/) from both **local** and **remote** sources.

Components
cloudposse / atmos

Try it out

Copy the example into a new directory and make it your own:

atmos init examples/source-provisioning
cd source-provisioning

Follow the README for prerequisites and next steps.

See it in action

RECORDED DEMO
source-provisioning
 
Recorded from this example
Real commands. Real output.
README.md1.2 KB
View on GitHub

Source Provisioning

Demonstrates JIT (Just-in-Time) source provisioning from both local and remote sources.

Components

ComponentSource TypeURI
weatherLocal../demo-library/weather
ipinfoRemotegithub.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

  1. Local Paths - Relative paths like ../demo-library/weather
  2. Remote URIs - GitHub URLs with version pinning
  3. Workdir Isolation - Both types provision to .workdir/

Cleanup

rm -rf .workdir/