From 75aff4081fc7eb4c270aa154a70d288ea3f23c42 Mon Sep 17 00:00:00 2001 From: Simone Ruffilli Date: Fri, 4 Feb 2022 19:57:06 +0100 Subject: [PATCH] default=null for `shared_vpc_self_link ` and `vpc_host_project` (#502) * Update variables.tf * Update README.md --- fast/stages/03-project-factory/prod/README.md | 4 ++-- fast/stages/03-project-factory/prod/variables.tf | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fast/stages/03-project-factory/prod/README.md b/fast/stages/03-project-factory/prod/README.md index 328571a2d..2b31523b8 100644 --- a/fast/stages/03-project-factory/prod/README.md +++ b/fast/stages/03-project-factory/prod/README.md @@ -108,11 +108,11 @@ terraform apply | name | description | type | required | default | producer | |---|---|:---:|:---:|:---:|:---:| | [billing_account_id](variables.tf#L19) | Billing account id. | string | ✓ | | 00-bootstrap | -| [shared_vpc_self_link](variables.tf#L44) | Self link for the shared VPC. | string | ✓ | | 02-networking | -| [vpc_host_project](variables.tf#L50) | Host project for the shared VPC. | string | ✓ | | 02-networking | | [data_dir](variables.tf#L25) | Relative path for the folder storing configuration data. | string | | "data/projects" | | | [defaults_file](variables.tf#L38) | Relative path for the file storing the project factory configuration. | string | | "data/defaults.yaml" | | | [environment_dns_zone](variables.tf#L31) | DNS zone suffix for environment. | string | | null | 02-networking | +| [shared_vpc_self_link](variables.tf#L44) | Self link for the shared VPC. | string | | null | 02-networking | +| [vpc_host_project](variables.tf#L51) | Host project for the shared VPC. | string | | null | 02-networking | ## Outputs diff --git a/fast/stages/03-project-factory/prod/variables.tf b/fast/stages/03-project-factory/prod/variables.tf index 8bb9f0354..721a0ca94 100644 --- a/fast/stages/03-project-factory/prod/variables.tf +++ b/fast/stages/03-project-factory/prod/variables.tf @@ -45,10 +45,12 @@ variable "shared_vpc_self_link" { # tfdoc:variable:source 02-networking description = "Self link for the shared VPC." type = string + default = null } variable "vpc_host_project" { # tfdoc:variable:source 02-networking description = "Host project for the shared VPC." type = string + default = null }