Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into 1-create-a-kubernetes…
Browse files Browse the repository at this point in the history
…-cluster-for-gcp-w-the-ingress-nginx
  • Loading branch information
ThomasCardin committed Feb 7, 2024
2 parents 02801c9 + 81b6cf1 commit 4c6f99c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions apply-terraform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
trigger:
branches:
include:
- 3-create-a-kubernetes-cluster-for-azure-w-the-ingress-nginx

pool:
vmImage: 'ubuntu-latest'
steps:
- task: TerraformTaskV1@0
displayName: Terra Init
inputs:
provider: 'azurerm'
command: 'init'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform'
backendServiceArm: 'CFSC-AiLabChatbot-Sub-SP'
backendAzureRmResourceGroupName: 'rg-ai-cfia-terraform-state'
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:
provider: 'azurerm'
command: 'apply'
workingDirectory: $(System.DefaultWorkingDirectory)
environmentServiceNameAzureRM: 'CFSC-AiLabChatbot-Sub-SP'

0 comments on commit 4c6f99c

Please sign in to comment.