diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 2e7b51f..97f23a4 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -2,7 +2,7 @@ name: 'Terraform CD' on: push: - branches: [ "main" ] + branches: [ "develop" ] pull_request: permissions: @@ -32,8 +32,8 @@ jobs: - name: Terraform Plan working-directory: ./terraform - run: terraform plan -input=false + run: terraform plan -input=false -var-file="${{ secrets.ENV }}.tfvars" - name: Terraform Apply working-directory: ./terraform - run: terraform apply -auto-approve -input=false + run: terraform apply -auto-approve -input=false -var-file="${{ secrets.ENV }}.tfvars"