Adding a new role and new groups to identity center to be managed in Control Panel #384
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: terraform plan (management-account) | |
on: | |
pull_request: | |
paths: | |
- 'management-account/terraform/**' | |
- 'modules/**' | |
- '.github/workflows/management-account-plan.yml' | |
- '.github/workflows/management-account-apply.yml' | |
workflow_dispatch: | |
jobs: | |
plan: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
defaults: | |
run: | |
working-directory: ./management-account/terraform | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 | |
with: | |
role-to-assume: arn:aws:iam::${{secrets.AWS_ROOT_ACCOUNT_ID}}:role/github-actions-plan | |
role-session-name: GitHubActions | |
aws-region: eu-west-2 | |
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
with: | |
terraform_version: 1.7.5 | |
- run: terraform fmt -check | |
continue-on-error: true | |
- run: terraform init | |
- run: terraform validate -no-color | |
- run: terraform plan -no-color | |