platform: linux
params:
  # Params are set as environment variables when the run part is executed.
  # Here we use (()) notation to indicate that we're using a credhub secret.
  GOOGLE_JSON_ACCOUNT: ((terraform-ci-acc-tests-json))
  GCLOUD_PROJECT: ((ci-test-project))
# Both resources are checked out as subdirectories with the same name.
inputs:
- name: terraform-provider-google
- name: ci
image_resource:
  type: docker-image
  source:
    repository: golang
    tag: '1.9'
run:
  path: ci/acceptance-tests/run.sh
platform: linux
params:
  # Params are set as environment variables when the run part is executed.
  # Here we use (()) notation to indicate that we're using a credhub secret.
  GOOGLE_JSON_ACCOUNT: ((terraform-ci-acc-tests-json))
  GCLOUD_PROJECT: ((ci-test-project))
  GOOGLE_ORG: ((ci-test-org))
  GOOGLE_BILLING_ACCOUNT: ((ci-test-billing-account))
# Both resources are checked out as subdirectories with the same name.
inputs:
- name: terraform-provider-google
- name: ci
image_resource:
  type: docker-image
  source:
    repository: golang
    tag: '1.9'
run:
  path: ci/acceptance-tests/run.sh
Set org and billing account from credhub
Set org and billing account from credhub
