Last active
April 12, 2020 15:54
-
-
Save rudolphjacksonm/aab335774b434a95160905ae94095b3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables: | |
- name: terraformVersion | |
value: 0.12.23 | |
trigger: none | |
pool: | |
vmImage: 'ubuntu-latest' | |
stages: | |
- stage: | |
displayName: Terraform Plan | |
jobs: | |
- job: | |
steps: | |
- template: 'templates/terraform_plan.yml' | |
parameters: | |
serviceConnectionName: <> | |
backendAzureRmResourceGroupName: <> | |
backendAzureRmStorageAccountName: <> | |
backendAzureRmContainerName: terraform | |
backendAzureRmKey: <>.tfstate | |
tfComponent: <> | |
tfExecutionDir: $(System.DefaultWorkingDirectory)/terraform/<> | |
tfVarFileName: <>.tfvars | |
- stage: | |
displayName: Terraform Apply | |
jobs: | |
- deployment: Deploy | |
displayName: Run Terraform Apply | |
pool: | |
vmImage: 'ubuntu-latest' | |
environment: '<>' | |
strategy: | |
runOnce: | |
deploy: | |
steps: | |
- template: 'templates/terraform_apply.yml' | |
parameters: | |
serviceConnectionName: <> | |
backendAzureRmResourceGroupName: <> | |
backendAzureRmStorageAccountName: <> | |
backendAzureRmContainerName: terraform | |
backendAzureRmKey: <>.tfstate | |
tfComponent: <> | |
tfExecutionDir: $(System.DefaultWorkingDirectory)/terraform/<> | |
tfVarFileName: <>.tfvars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment