Skip to content

Add CI/CD workflows for terraform automation #14

Add CI/CD workflows for terraform automation

Add CI/CD workflows for terraform automation #14

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