Skip to content

Remove unused workloads_path variable from environments tfvars #7

Remove unused workloads_path variable from environments tfvars

Remove unused workloads_path variable from environments tfvars #7

Workflow file for this run

name: Deploy
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
pull-requests: write # This is required to add comments to Pull Requests
deployments: write # This is required to deactivate deployments
on:
workflow_dispatch:
pull_request:
paths:
- "**.tf*"
- ".github/workflows/deploy.yml"
push:
branches:
- "main"
paths:
- "**.tf*"
- ".github/workflows/deploy.yml"
concurrency:
group: ${{ github.ref }}
cancel-in-progress: false
jobs:
deploy-dev:
name: Dev Deployment
uses: aws-samples/aws-terraform-reusable-workflow/.github/workflows/[email protected]
with:
deploy: true
tf-version: ${{ vars.TF_VERSION }}
tf-organization: ${{ vars.TF_ORGANIZATION }}
tf-hostname: ${{ vars.TF_HOSTNAME }}
tf-workspace: ${{ vars.APP_NAME }}-dev
aws-region: "us-west-2"
environment: "dev"
ref: v1.2.0
local-execution-mode: true
secrets:
tf-token: ${{ secrets.TF_TOKEN }}
terraform-execution-iam-plan-role-arn: ${{ secrets.DEV_AWS_PLAN_ROLE_ARN }}
terraform-execution-iam-apply-role-arn: ${{ secrets.DEV_AWS_APPLY_ROLE_ARN }}
extra-args: ${{ secrets.DEV_EXTRA_ARGS }}
deploy-test:
needs: deploy-dev
name: Test Deployment
uses: aws-samples/aws-terraform-reusable-workflow/.github/workflows/[email protected]
with:
deploy: true
tf-version: ${{ vars.TF_VERSION }}
tf-organization: ${{ vars.TF_ORGANIZATION }}
tf-hostname: ${{ vars.TF_HOSTNAME }}
tf-workspace: ${{ vars.APP_NAME }}-test
aws-region: "us-west-2"
environment: "test"
ref: v1.2.0
local-execution-mode: true
secrets:
tf-token: ${{ secrets.TF_TOKEN }}
terraform-execution-iam-plan-role-arn: ${{ secrets.TEST_AWS_PLAN_ROLE_ARN }}
terraform-execution-iam-apply-role-arn: ${{ secrets.TEST_AWS_APPLY_ROLE_ARN }}
extra-args: ${{ secrets.TEST_EXTRA_ARGS }}