Skip to content

Commit

Permalink
fix: assume IAM role before running `cloudposse/github-action-atmos-g…
Browse files Browse the repository at this point in the history
…et-setting`
  • Loading branch information
goruha authored Aug 28, 2024
1 parent ca53b7a commit a16c736
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ runs:
suzuki-shunsuke/tfcmt: v4.11.0
terraform-docs/terraform-docs: v0.18.0
- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
aws-region: ${{ steps.config.outputs.aws-region }}
role-to-assume: ${{ steps.config.outputs.terraform-apply-role }}
role-session-name: "atmos-terraform-apply-gitops"
mask-aws-account-id: "no"

- name: Get atmos settings
uses: cloudposse/github-action-atmos-get-setting@v1
id: component
Expand Down

0 comments on commit a16c736

Please sign in to comment.