toka
10/14/2025, 1:51 PMAtmos plan (raw) that executes atmos terraform plan directly and then I get to see TF plan output
- name: Atmos plan (raw)
run: |
set -eo pipefail
echo "Component=${{ matrix.component }} | Stack=${{ matrix.stack }}"
atmos terraform plan '${{ matrix.component }}' -s '${{ matrix.stack }}' -- -input=false -no-color | tee plan.txt
First time trying to reuse Atmos actions, so I'm assuming it is some kind of misconfig on my end.
The catch is I'm using GCP, so I cannot simply set integrations.github.gitops with artifact-storage just yet. GCP storage API is compatible with S3 but I guess the authentication flow is a bit different (no AWS ARN roles and such). Not sure how much it affects the Action I'm trying to use though.
Hoping for some direction! Snippet from my atmos.yaml :
integrations:
github:
terraform-version: "1.13.1"
infracost-enabled: false
artifact-storage:
plan-repository-type: "s3"
metadata-repository-type: ""
region: "us-xxxx"
bucket: "toka-xxxxxxxx-bucket"
table: ""
role: ""
role:
plan: ""
apply: ""
matrix:
sort-by: .stack_slug
group-by: .stack_slug
components:
terraform:
[...]
settings:
github:
actions_enabled: truePePe Amengual
10/14/2025, 6:16 PMPePe Amengual
10/14/2025, 6:17 PMtoka
10/14/2025, 6:19 PM- id: affected
name: Atmos Affected Stacks
uses: cloudposse/github-action-atmos-affected-stacks@v6
with:
atmos-config-path: ${{ env.ATMOS_CONFIG_PATH }}
atmos-version: ${{ env.ATMOS_VERSION }}
nested-matrices-count: 1
install-atmos: false # We already installed it in the previous step
outputs:
matrix: ${{ steps.affected.outputs.matrix }}
has-affected-stacks: ${{ steps.affected.outputs.has-affected-stacks }}PePe Amengual
10/14/2025, 6:19 PMPePe Amengual
10/14/2025, 6:19 PMPePe Amengual
10/14/2025, 6:20 PMtoka
10/14/2025, 6:21 PMPePe Amengual
10/14/2025, 6:22 PMtoka
10/14/2025, 6:26 PMAtmos Terraform Plan action does not produce TF Plans, does not trigger it, does not init terraform and make following steps etc.
Below snippet from action output:
Run cloudposse/github-action-atmos-terraform-plan@v5
Run actions/checkout@v4
[...]
Run cloudposse/github-action-setup-atmos@v2
Run cloudposse/github-action-atmos-get-setting@v2
Run cat << EOF > aqua.yaml
Run echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin" >> $GITHUB_PATH
Run if [ "${SKIP_INSTALL_AQUA:-}" = true ] && command -v aqua >/dev/null; then
Run aqua i $AQUA_OPTS
Run if [[ -f "" ]]; then
Run if [[ "false" == "true" ]]; then
found
Drift detection mode disabled
Run echo "rand=$(openssl rand -hex 5)" >> "$GITHUB_OUTPUT"PePe Amengual
10/14/2025, 6:27 PMsettings:
github:
actions_enabled: true that is missplaced in the yamltoka
10/14/2025, 6:28 PMcloudposse/github-action-atmos-terraform-plan@v5 will produce plans, save them in buckets if possible and add comments into PRsPePe Amengual
10/14/2025, 6:28 PMRun cloudposse/github-action-atmos-get-setting@v2?PePe Amengual
10/14/2025, 6:29 PMtoka
10/14/2025, 6:29 PMcomponents:
terraform:
settings:
github:
actions_enabled: true
into main amots.yaml filePePe Amengual
10/14/2025, 6:31 PMtoka
10/14/2025, 6:31 PMdo you see anything happening hereI see all the detected components like so:?Run cloudposse/github-action-atmos-get-setting@v2
- component: folder_xxxxxxx
stack: 01-xxxxxxxx-folder-global-hq
settingsPath: settings.integrations.github.gitops.artifact-storage.blob-container-name
outputPath: blob-container-namePePe Amengual
10/14/2025, 6:32 PMsettings:
azure:
XXX
github:
actions_enabled: true
integrations:
github:
gitops:
terraform-version: 1.12.2`PePe Amengual
10/14/2025, 6:32 PMtoka
10/14/2025, 6:34 PMPePe Amengual
10/14/2025, 6:34 PMtoka
10/14/2025, 6:35 PMPePe Amengual
10/14/2025, 6:35 PMtoka
10/14/2025, 6:38 PMtoka
10/14/2025, 7:12 PMmade me think I need to have it in mainCopy codeFor example, to migrate from v1 to v2, you should have something similar to the following in your atmos.yaml
atmos.yaml file.
Thanks a lot!PePe Amengual
10/14/2025, 7:13 PM