Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 02 Dec 18:54
· 1 commit to refs/heads/main since this release
b48431b
Replace describe-config for atmos-get-setting, add optional cache and azure storage options @goruha (#62) ## what * Skip AWS auth if Gitops aws configuration empty in atmos settings * Updated docs and Tests. * Fix: clean environment file from .terraform cache to avoid workspace select errors * Replace the describe config for cloudposse/github-action-atmos-get-setting * Replace If statements to check for azure repository type * Add azure blob storage and cosmos * Allow to skip checkout

Why

  • Allow to skip AWS auth and use an external one
  • Make the action cloud agnostic
  • To support azure and better config settings
  • Support stack level integration configs

Example

If atmos.yaml contains

integrations:
  github:
    gitops:
      opentofu-version: 1.7.3    
      terraform-version: 1.5.7
      infracost-enabled: false
      artifact-storage:
        region: us-east-2
        bucket: cptest-core-ue2-auto-gitops
        table: cptest-core-ue2-auto-gitops-plan-storage
# here used to be
#      role: arn:aws:iam::461333128641:role/cptest-core-ue2-auto-gha-iam-gitops-gha
# here used to be
#      role:
#        plan: arn:aws:iam::582055374050:role/cptest-core-gbl-identity-planners
#        apply: arn:aws:iam::582055374050:role/cptest-core-gbl-identity-gitops
      matrix:
        sort-by: .stack_slug
        group-by: .stack_slug | split("-") | [.[0], .[2]] | join("-")

Reference

  • feature/dev-2523-make-aws-role-assumption-optional-in-github-actions