Skip to content

Commit

Permalink
Issue #3: try with newer action version
Browse files Browse the repository at this point in the history
  • Loading branch information
SonOfLope committed Feb 1, 2024
1 parent abd27bb commit d71b21d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apply-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ trigger:
pool:
vmImage: 'ubuntu-latest'
steps:
- task: TerraformTaskV1@0
- task: TerraformTaskV2@2
displayName: Terra Init
inputs:
provider: 'azurerm'
Expand All @@ -18,13 +18,15 @@ steps:
backendAzureRmStorageAccountName: 'tfcfiastate'
backendAzureRmContainerName: 'infra-terraform-state'
backendAzureRmKey: 'tf/terraform.tfstate'

- task: TerraformTaskV1@0
displayName: Terra Plan
inputs:
provider: 'azurerm'
command: 'plan'
workingDirectory: $(System.DefaultWorkingDirectory)
environmentServiceNameAzureRM: 'CFSC-AiLabChatbot-Sub-SP'

- task: TerraformTaskV1@0
displayName: Terra Apply
inputs:
Expand Down

0 comments on commit d71b21d

Please sign in to comment.