Skip to content

Instantly share code, notes, and snippets.

@rudolphjacksonm
Created March 21, 2020 22:17
Show Gist options
  • Save rudolphjacksonm/9b101c570d89742ceef09226fc8509d7 to your computer and use it in GitHub Desktop.
Save rudolphjacksonm/9b101c570d89742ceef09226fc8509d7 to your computer and use it in GitHub Desktop.
azdevops-terraform-init
---
displayName: 'Install Terraform'
inputs:
terraformVersion: '$(terraformVersion)'
- task: TerraformTaskV1@0
displayName: 'Terraform Init'
inputs:
provider: 'azurerm'
command: 'init'
workingDirectory: '$(tfExecutionDir)'
backendServiceArm: '$(serviceConnectionName)'
backendAzureRmResourceGroupName: '$(backendAzureRmResourceGroupName)'
backendAzureRmStorageAccountName: '$(backendAzureRmStorageAccountName)'
backendAzureRmContainerName: '$(backendAzureRmContainerName)'
backendAzureRmKey: '$(backendAzureRmKey)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment