Skip to content

feat: tear down secondary instance (#235) #177

feat: tear down secondary instance (#235)

feat: tear down secondary instance (#235) #177

name: "Terraform Apply"
on:
push:
branches: ["master"]
paths:
- "terraform/**"
jobs:
terraform:
name: "Terraform Apply"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./terraform
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- name: Terraform Initialisation
run: terraform init
- name: Terraform Apply
run: terraform apply -auto-approve -input=false