feat: Implement VPC module for AWS, including configuration for publi… #14
Workflow file for this run
This file contains hidden or 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: Plan (sandbox) | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "workspaces/sandbox/**" | |
| - "modules/**" | |
| env: | |
| TF_VERSION: "1.14.8" | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| plan: | |
| name: Plan (sandbox) | |
| runs-on: ubuntu-latest | |
| env: | |
| TF_TOKEN_app_terraform_io: ${{ secrets.TF_API_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 | |
| with: | |
| role-to-assume: ${{ vars.SANDBOX_OIDC_ROLE_ARN }} | |
| aws-region: ${{ vars.AWS_REGION }} | |
| - uses: hashicorp/setup-terraform@v3 | |
| with: | |
| terraform_version: ${{ env.TF_VERSION }} | |
| terraform_wrapper: false | |
| - run: terraform -chdir=workspaces/sandbox init | |
| - run: terraform -chdir=workspaces/sandbox plan -no-color |