PePe Amengual
07/31/2025, 7:59 PMatmos terraform plan --affected is basically a describe affected + plan? I ask because of the copy commands happening here
DEBU Set logs-level=debug logs-file=/dev/stderr
DEBU Found config ENV ATMOS_CLI_CONFIG_PATH=./atmos/config
DEBU Found ENV variable ATMOS_BASE_PATH=./atmos
DEBU Found config ENV ATMOS_CLI_CONFIG_PATH=./atmos/config
DEBU Found ENV variable ATMOS_BASE_PATH=./atmos
DEBU Found config ENV ATMOS_CLI_CONFIG_PATH=./atmos/config
DEBU Found ENV variable ATMOS_BASE_PATH=./atmos
DEBU Set using command line argument --logs-level=Debug
DEBU Atmos JSON Schema is not configured. Using the default embedded schema
DEBU Validating all YAML files in the folder and all subfolders (excluding template files) folder=atmos/stacks
DEBU Copying the local repo into temp directory dir=/tmp/3918833686
DEBU Copied the local repo into temp directory dir=/tmp/3918833686
DEBU Checking out Git ref=refs/remotes/origin/HEAD
DEBU Checked out Git ref=refs/remotes/origin/HEAD
DEBU Current HEAD="cb8d0695f7bd445101b40c HEAD"
DEBU Current BASE="91a4a3b471ea17915b40cd2b HEAD"Andriy Knysh (Cloud Posse)
07/31/2025, 8:04 PMPePe Amengual
07/31/2025, 8:06 PMAndriy Knysh (Cloud Posse)
07/31/2025, 8:08 PMdescribe affected are supportedPePe Amengual
07/31/2025, 8:08 PMAndriy Knysh (Cloud Posse)
07/31/2025, 8:08 PMAndriy Knysh (Cloud Posse)
07/31/2025, 8:08 PMAndriy Knysh (Cloud Posse)
07/31/2025, 8:09 PM--include-dependents
# Execute the `terraform apply` command on all components affected by the changes
# in the current branch, in all stacks, in dependency order.
# Assume that the components `vpc` and `eks/cluster` in all stacks are affected (e.g. just added).
> atmos terraform apply --affected --dry-run
Executing command="atmos terraform apply vpc -s nonprod"
Executing command="atmos terraform apply eks/cluster -s nonprod"
Executing command="atmos terraform apply vpc -s prod"
Executing command="atmos terraform apply eks/cluster -s prod"Andriy Knysh (Cloud Posse)
07/31/2025, 8:09 PM# Execute the `terraform apply` command on all the components affected by the changes
# in the current branch, in all stacks.
# For each directly affected component, detect the dependent components and process
# them in dependency order, recursively.
# Dependents are components that are indirectly affected, meaning that nothing in the
# current branch modifies their code or configs, but they are configured as
# dependencies of the components that are modified.
> atmos terraform apply --affected --include-dependents --dry-run
Executing command="atmos terraform apply vpc -s nonprod"
Executing command="atmos terraform apply eks/cluster -s nonprod" dependency of component=vpc in stack=nonprod
Executing command="atmos terraform apply eks/karpenter -s nonprod" dependency of component=eks/cluster in stack=nonprod
Executing command="atmos terraform apply eks/karpenter-node-pool -s nonprod" dependency of component=eks/karpenter in stack=nonprod
Executing command="atmos terraform apply eks/external-dns -s nonprod" dependency of component=eks/cluster in stack=nonprod
Executing command="atmos terraform apply eks/istio/base -s nonprod" dependency of component=eks/cluster in stack=nonprod
Executing command="atmos terraform apply eks/istio/istiod -s nonprod" dependency of component=eks/istio/base in stack=nonprod
Executing command="atmos terraform apply eks/istio/test-app -s nonprod" dependency of component=eks/istio/istiod in stack=nonprod
Executing command="atmos terraform apply vpc -s prod"
Executing command="atmos terraform apply eks/cluster -s prod" dependency of component=vpc in stack=prod
Executing command="atmos terraform apply eks/external-dns -s prod" dependency of component=eks/cluster in stack=prod
Executing command="atmos terraform apply eks/istio/base -s prod" dependency of component=eks/cluster in stack=prod
Executing command="atmos terraform apply eks/istio/istiod -s prod" dependency of component=eks/istio/base in stack=prod
Executing command="atmos terraform apply eks/istio/test-app -s prod" dependency of component=eks/istio/istiod in stack=prod
Executing command="atmos terraform apply eks/karpenter -s prod" dependency of component=eks/cluster in stack=prod
Executing command="atmos terraform apply eks/karpenter-node-pool -s prod" dependency of component=eks/karpenter in stack=prod