trigger: none
pool:
vmImage: 'ubuntu-latest'
container: jvkubjg/ubuntu:kitchen7.0.2
parameters:
- name: myMultiString
type: string
default: default
values:
- default
- ubuntu
stages:
- stage: setup
jobs:
- job: setup
steps:
- task: DownloadSecureFile@1
name: authkey
displayName: 'Download Service Account Key'
inputs:
secureFile: 'dev-gcp-key.json'
retryCount: '2'
- script: |
cd test/setup
terraform init
terraform apply
env:
GOOGLE_APPLICATION_CREDENTIALS: $(authkey.secureFilePath)
TF_VAR_parent-node-id: $(parent_node_id)
TF_VAR_platform-id: $(platform_id)
TF_VAR_billing_account: $(billing_account)