Skip to content

Commit

Permalink
Refactor Terraform backend configuration in tf-drift-detection.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlahbib committed Nov 20, 2024
1 parent c2ea780 commit 4c7d85d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tf-drift-detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ jobs:
terraform_wrapper: false

- name: Terraform Init
run: terraform init
run: |
terraform init \
-backend-config="bucket=${TFSTATE_BUCKET}" \
-backend-config="key=${TFSTATE_KEY}" \
-backend-config="region=${AWS_REGION}"
- name: Terraform Plan
id: tfplan
Expand Down

0 comments on commit 4c7d85d

Please sign in to comment.