Skip to content

Create IPAM pools for modernisation-platform-core OU #129

Create IPAM pools for modernisation-platform-core OU

Create IPAM pools for modernisation-platform-core OU #129

name: terraform plan (organisation-security)
on:
pull_request:
paths:
- 'organisation-security/terraform/**'
- 'modules/**'
- '.github/workflows/organisation-security-plan.yml'
- '.github/workflows/organisation-security-apply.yml'
workflow_dispatch:
jobs:
plan:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
defaults:
run:
working-directory: ./organisation-security/terraform
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: arn:aws:iam::${{secrets.AWS_SECURITY_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