Last active
January 9, 2019 20:36
-
-
Save MattMencel/18b0893901d8303b80801f1fb4c8a66c to your computer and use it in GitHub Desktop.
Terraform Plans with Azure DevOps - Part 1
This file contains hidden or 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
name: $(BuildDefinitionName).$(DayOfYear)$(Rev:.r) | |
resources: | |
repositories: | |
- repository: Templates | |
type: git | |
name: Templates | |
pool: | |
name: Terraform Agents | |
trigger: | |
batch: true | |
branches: | |
include: | |
- master | |
- feature/* | |
paths: | |
include: | |
- 'SOMEPATH/DEV/AKS' | |
variables: | |
- name: state.key | |
value: 'TFSTATE' | |
- name: terraform.path | |
value: 'SOMEPATH/DEV/AKS' | |
- group: 'KEY-VAULT-VAR-GROUP' | |
- group: 'STANDARD-VAR-GROUP' | |
steps: | |
- checkout: self | |
clean: true | |
persistCredentials: true | |
- template: ADO/Build-Readiness.yml@Templates | |
- template: ADO/DEV-plan.yml@Templates | |
- template: ADO/Publish-Terraform-Artifact.yml@Templates | |
- template: ADO/Publish-Plan-To-Wiki.yml@Templates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment