Last active
November 13, 2019 12:48
-
-
Save JamesDLD/59b9dbdc42fc572fc639004a73629f54 to your computer and use it in GitHub Desktop.
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
- stage: Deploy | |
dependsOn: Build | |
jobs: | |
# track deployments on the environment | |
- deployment: Terraform_Apply | |
displayName: Terraform Apply - Resources creation | |
pool: | |
vmImage: $(vmImageName) | |
environment: "Terraform_Apply" | |
strategy: | |
# default deployment strategy | |
runOnce: | |
deploy: | |
steps: | |
- template: terraform.yml@Yaml_Templates | |
parameters: | |
version: $(terraform_version) | |
artifact_path: $(Pipeline.Workspace)/$(artifact_name) | |
package_name: "aks-k8s" | |
terraform_apply: true | |
main_file_path: "variable/main-jdld.tfvars" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment