fix: Scope plan storage AWS credentials to prevent Atmos auth interference @milldr (#93)
## WhatUse output-credentials: true mode for plan storage credential configuration and pass credentials explicitly via step-level env: vars to the plan storage steps.
Why
When using Atmos auth for Terraform operations (instead of the terraform-apply-role setting), the AWS credentials configured for plan storage (S3/DynamoDB access) were persisting in environment variables and taking precedence over Atmos' authentication mechanism.
This caused authentication failures when:
terraform-apply-rolewas not configured in gitops settings- Atmos auth was expected to handle role assumption for the target account
- Plan storage credentials remained in
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY, andAWS_SESSION_TOKEN
Changes
- Add
output-credentials: trueto plan storage credential configuration step - Add step id
plan-storage-credentialsfor referencing credential outputs - Pass AWS credentials explicitly via
env:to "Retrieve Plan" and "Retrieve Lockfile" steps - Rename second credential configuration step to "Configure Apply AWS Credentials" for clarity
Update readme with plan-diff notes @goruha (#92)
## what * Update readme with plan-diff noteswhy
- Document plan-diff mode behaviour and non-deterministic plan diff limitations
references
Add conditional for Atmos installation step @jamengual (#90)
This pull request makes a small update to the workflow configuration in `action.yml`. The change adds a conditional check to only install Atmos if the `atmos-version` input is provided.🚀 Enhancements
fix: correct README.yaml indentation and test atmos configs @milldr (#96)
## What - Fix README.yaml blockquote indentation that caused YAML parsing errors - Fix test atmos.yaml base_path by removing `./` prefixWhy
- README.yaml had improperly indented blockquote continuation lines causing the release workflow to fail
- Test atmos configs had
./tests/...instead oftests/...which caused test failures
References
- Similar fix in plan action: cloudposse/github-action-atmos-terraform-plan#124
- Failed release: https://github.com/cloudposse/github-action-atmos-terraform-apply/actions/runs/20174357833