Skip to content

Commit

Permalink
Merge pull request #2 from sumanmanna134/actions
Browse files Browse the repository at this point in the history
add github actions for terrform and destroy infra mod
  • Loading branch information
sumanmanna134 authored Jul 26, 2024
2 parents 0d738f7 + 4a1a1cd commit ce56133
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/destroyinfra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Destroy Infrastructure
run: |
terraform init
terraform destroy --var-file="./tfvars/terraform.tfvars" -auto-approve
terraform destroy --var-file="https://terraformstorageazaction.blob.core.windows.net/vars/terraform.tfvars?st=2024-07-26T09:55:06Z&se=2024-07-26T17:55:06Z&si=readvar&spr=https&sv=2022-11-02&sr=b&sig=8U%2B0VOnAPQfCvxsNOfoGgSkxCsDKosTdHpKUpaPCAr8%3D" -auto-approve
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: terraform init
- name: Terraform plan
id: plan
run: terraform plan --var-file="./tfvars/terraform.tfvars" -out azinfra.tfplan -no-color
run: terraform plan --var-file="https://terraformstorageazaction.blob.core.windows.net/vars/terraform.tfvars?st=2024-07-26T09:55:06Z&se=2024-07-26T17:55:06Z&si=readvar&spr=https&sv=2022-11-02&sr=b&sig=8U%2B0VOnAPQfCvxsNOfoGgSkxCsDKosTdHpKUpaPCAr8%3D" -out azinfra.tfplan -no-color
- name: Terraform apply
id: apply
if: github.ref == 'refs/heads/"main"' && github.event_name == 'push'
Expand Down

0 comments on commit ce56133

Please sign in to comment.