From 7812c5199e0b5972090275b15637546a9cb71bcc Mon Sep 17 00:00:00 2001 From: Nitin Ravindran Date: Mon, 4 Nov 2024 12:36:06 -0800 Subject: [PATCH] Update terraform and lifecycle-log resource to use GCS bucket [TPCF-27407] Signed-off-by: Ming Xiao --- ci/pipeline.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index d204370a..7e3f662b 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -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