Skip to content

Commit

Permalink
Update terraform and lifecycle-log resource to use GCS bucket
Browse files Browse the repository at this point in the history
[TPCF-27407]

Signed-off-by: Ming Xiao <ming.xiao@broadcom.com>
  • Loading branch information
xtreme-nitin-ravindran authored and mingxiao committed Nov 4, 2024
1 parent eef40ed commit 7812c51
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,25 +363,24 @@ resources:
type: terraform
tags: [ "nimbus" ]
source:
backend_type: s3
backend_type: gcs
backend_config:
bucket: bosh-openstack-cpi-ci
key: terraform/terraform.tfstate
bucket: bosh-openstack-cpi-blobs
prefix: terraform
credentials: ((cloud-foundry-gcp-credentials))
vars:
region: us-east-1
access_key: ((bosh-openstack-cpi-ci_assume_aws_access_key.username))
secret_key: ((bosh-openstack-cpi-ci_assume_aws_access_key.password))
role_arn: ((bosh-openstack-cpi-ci_assume_aws_access_key.role_arn))

- name: lifecycle-log
type: s3
type: gcs
tags: [ "nimbus" ]
source:
bucket: bosh-openstack-cpi-ci # OpenStack CPI account
bucket: bosh-openstack-cpi-blobs # OpenStack CPI account
versioned_file: lifecycle.log
region_name: us-east-1
access_key_id: ((bosh-openstack-cpi-ci_assume_aws_access_key.username))
secret_access_key: ((bosh-openstack-cpi-ci_assume_aws_access_key.password))
aws_role_arn: ((bosh-openstack-cpi-ci_assume_aws_access_key.role_arn))
json_key: ((cloud-foundry-gcp-credentials))

- name: bosh-openstack-cpi-release
type: git
Expand Down

0 comments on commit 7812c51

Please sign in to comment.