These changes add more direct integration for using the Google Cloud Platform provider to deploy resources into a GCP project.
- task: charleszipp.azure-pipelines-tasks-terraform.azure-pipelines-tasks-terraform-cli.TerraformCLI@0
displayName: 'terraform plan'
inputs:
command: plan
workingDirectory: $(test_templates_dir)
# Google Credentials (i.e. for service account) in JSON file format in Azure DevOps Secure Files
providerGoogleCredentials: gcp-service-account-key.json
# The default project name where resources are managed. Defining project on a resource takes precedence over this.
providerGoogleProject: gcs-trfrm-${{ parameters.stage }}-eus-czp
# The default region where resources are managed. Defining region on a resource takes precedence over this.
providerGoogleRegion: 'us-east-1'
Authentication is facilitated by a key file in json format being uploaded to Library > Secure Files. The task will download the file to the agent and use it to authenticate against the target GCS bucket.
These changes add more direct integration for using the Google Cloud Platform provider to deploy resources into a GCP project.
Authentication is facilitated by a key file in json format being uploaded to Library > Secure Files. The task will download the file to the agent and use it to authenticate against the target GCS bucket.