Skip to content

Commit

Permalink
Fixed Cloud Build default bucket name and vpc/subnet names (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
javiergp authored Jul 31, 2023
1 parent b702e57 commit a2eddd0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions blueprints/data-solutions/vertex-mlops/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a2eddd0

Please sign in to comment.