Fixed Cloud Build default bucket name and vpc/subnet names (#1548)

This commit is contained in:
javiergp
2023-07-31 12:52:36 +02:00
committed by GitHub
parent b702e5794c
commit a2eddd0be0

View File

@@ -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