Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
pipeline: fix GPC credentials usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Durrheimer committed Dec 11, 2019
1 parent 96680b7 commit cea4957
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions pipeline/pipeline.yml
Expand Up @@ -10,12 +10,7 @@ shared:
repository: cycloid/cycloid-toolkit
tag: latest
run:
path: /bin/sh
args:
- -ec
- |
/usr/bin/merge-stack-and-config
echo '((gcp_credentials_json))' > ${MERGE_OUTPUT_PATH}/credentials.json
path: /usr/bin/merge-stack-and-config
outputs:
- name: merged-stack
path: "merged-stack"
Expand Down Expand Up @@ -49,7 +44,7 @@ resources:
backend_config:
bucket: ((terraform_storage_bucket_name))
prefix: ((project))/((env))
# credentials: ((gcp_credentials_json))
credentials: ((gcp_credentials_json))
vars:
gcp_project: ((gcp_project))
gcp_region: ((gcp_region))
Expand All @@ -60,7 +55,7 @@ resources:
GOOGLE_PROJECT: ((gcp_project))
GOOGLE_REGION: ((gcp_region))
# GOOGLE_ZONE: ((gcp_zone))
GOOGLE_CREDENTIALS: merged-stack/credentials.json
GOOGLE_CREDENTIALS: ((gcp_credentials_json))

# The Terraform stack (will be merged with the config)
- name: git_stack-terraform
Expand Down

0 comments on commit cea4957

Please sign in to comment.