Skip to content

Commit

Permalink
chore: Update Terraform workflow to use "terraform apply" instead of …
Browse files Browse the repository at this point in the history
…"terraform destroy" and adjust number of master and worker nodes in production configuration
  • Loading branch information
AlxFrst committed Jul 22, 2024
1 parent d9bff07 commit 750c2f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
- name: Terraform Plan
run: terraform plan -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars"

- name: Terraform apply
run: terraform apply -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars"
# - name: Terraform apply
# run: terraform apply -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars"

# - name: Terraform destroy
# run: terraform destroy -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars"
- name: Terraform destroy
run: terraform destroy -auto-approve -var-file="secrets_prod.tfvars" -var-file="configurations/prod.tfvars"

0 comments on commit 750c2f9

Please sign in to comment.