Skip to content

Add CI/CD workflows for terraform automation #16

Add CI/CD workflows for terraform automation

Add CI/CD workflows for terraform automation #16

name: Main CD for Devnet Deployment
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- "!main"
paths:
- "aws/devnet/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
deploy:
uses: ./.github/workflows/terraform_template_deploy.yml
with:
project: aws
resource: devnet
tf_workspace_name: devnet-aws
tf_version: 1.5.7
tf_organization: subspace
secrets:
TRANSCRYPT: ${{ secrets.TRANSCRYPT }}
TF_API_TOKEN: ${{ secrets.TF_API_TOKEN }}