Skip to content

Commit

Permalink
fix: Plan file (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualedevita authored Feb 20, 2023
1 parent a043e4f commit 87efc4a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ inputs:
dir:
description: "terraform directory"
required: true
azure_environment:
description: "Azure Environment"
required: true

runs:
using: "composite"
Expand All @@ -40,6 +43,6 @@ runs:
cd ${{ inputs.dir }}
terraform apply -lock-timeout=3000s -auto-approve -input=false tfplan-${{ github.sha }}
terraform apply -lock-timeout=3000s -auto-approve -input=false tfplan-${{ inputs.azure_environment }}-${{ github.sha }}
rm -rf tfplan-${{ github.sha }}
rm -rf tfplan-${{ inputs.azure_environment }}-${{ github.sha }}

0 comments on commit 87efc4a

Please sign in to comment.