Skip to content

Commit

Permalink
Update github-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HoussemDellai authored Jan 6, 2024
1 parent f56d7de commit c99014a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:

# Generates an execution plan for Terraform
- name: Terraform Plan
run: terraform -chdir=001_vnet_subnets_tf plan -out tfplan -input=false
run: terraform -chdir=001_vnet_subnets_tf plan -out tfplan

# On push to "main", build or change infrastructure according to Terraform configuration files
# Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks
- name: Terraform Apply
run: terraform -chdir=001_vnet_subnets_tf apply tfplan -input=false
run: terraform -chdir=001_vnet_subnets_tf apply tfplan
# if: github.ref == 'refs/heads/"main"' && github.event_name == 'push'

# Terraform Destroy
Expand Down

0 comments on commit c99014a

Please sign in to comment.