feat: tear down secondary instance (#235) #177
This file contains 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: "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 |