From a2eddd0be0a9a92f73ee3999e81c6897d005604e Mon Sep 17 00:00:00 2001 From: javiergp Date: Mon, 31 Jul 2023 12:52:36 +0200 Subject: [PATCH] Fixed Cloud Build default bucket name and vpc/subnet names (#1548) --- blueprints/data-solutions/vertex-mlops/main.tf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/blueprints/data-solutions/vertex-mlops/main.tf b/blueprints/data-solutions/vertex-mlops/main.tf index ec2d174a..6879955d 100644 --- a/blueprints/data-solutions/vertex-mlops/main.tf +++ b/blueprints/data-solutions/vertex-mlops/main.tf @@ -116,8 +116,7 @@ module "gcs-bucket" { module "gcs-bucket-cloudbuild" { source = "../../../modules/gcs" project_id = module.project.project_id - name = "${var.prefix}_cloudbuild" - prefix = var.prefix + name = "${module.project.project_id}_cloudbuild" location = var.region storage_class = "REGIONAL" versioning = false @@ -137,10 +136,10 @@ module "vpc-local" { count = local.use_shared_vpc ? 0 : 1 source = "../../../modules/net-vpc" project_id = module.project.project_id - name = "default" + name = "vertex" subnets = [ { - "name" : "default", + "name" : "subnet-${var.region}", "region" : "${var.region}", "ip_cidr_range" : "10.4.0.0/24", "secondary_ip_range" : null