Skip to content

fix: update gitignore #87

fix: update gitignore

fix: update gitignore #87

Workflow file for this run

name: 'Terraform CD'
on:
push:
branches: [ "main" ]
pull_request:
permissions:
contents: read
jobs:
terraform:
name: 'Terraform'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- name: Terraform Init
working-directory: ./terraform
run: terraform init
- name: Terraform Plan
working-directory: ./terraform
run: terraform plan -input=false -var-file="env/dev.tfvars"
- name: Terraform Apply
working-directory: ./terraform
run: terraform apply -auto-approve -input=false -var-file="env/dev.tfvars"