From 3717548c259e07208ec2c1b3890b3af8a1c785eb Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Sat, 22 Jan 2022 16:12:03 +0100 Subject: [PATCH] edit variable description so table does not overflow --- modules/project/README.md | 12 ++++++------ modules/project/variables.tf | 6 ++++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/project/README.md b/modules/project/README.md index 0598679c5..801362f29 100644 --- a/modules/project/README.md +++ b/modules/project/README.md @@ -221,12 +221,12 @@ module "project" { | [project_create](variables.tf#L165) | Create project. When set to false, uses a data source to reference existing project. | bool | | true | | [service_config](variables.tf#L171) | Configure service API activation. | object({…}) | | {…} | | [service_encryption_key_ids](variables.tf#L183) | Cloud KMS encryption key in {SERVICE => [KEY_URL]} format. | map(list(string)) | | {} | -| [service_perimeter_bridges](variables.tf#L189) | Name of VPC-SC Bridge perimeters to add project into. Specify the name in the form of 'accessPolicies/ACCESS_POLICY_NAME/servicePerimeters/PERIMETER_NAME'. | list(string) | | null | -| [service_perimeter_standard](variables.tf#L195) | Name of VPC-SC Standard perimeter to add project into. Specify the name in the form of 'accessPolicies/ACCESS_POLICY_NAME/servicePerimeters/PERIMETER_NAME'. | string | | null | -| [services](variables.tf#L201) | Service APIs to enable. | list(string) | | [] | -| [shared_vpc_host_config](variables.tf#L207) | Configures this project as a Shared VPC host project (mutually exclusive with shared_vpc_service_project). | object({…}) | | {…} | -| [shared_vpc_service_config](variables.tf#L219) | Configures this project as a Shared VPC service project (mutually exclusive with shared_vpc_host_config). | object({…}) | | {…} | -| [skip_delete](variables.tf#L231) | Allows the underlying resources to be destroyed without destroying the project itself. | bool | | false | +| [service_perimeter_bridges](variables.tf#L190) | Name of VPC-SC Bridge perimeters to add project into. See comment in the variables file for format. | list(string) | | null | +| [service_perimeter_standard](variables.tf#L197) | Name of VPC-SC Standard perimeter to add project into. See comment in the variables file for format. | string | | null | +| [services](variables.tf#L203) | Service APIs to enable. | list(string) | | [] | +| [shared_vpc_host_config](variables.tf#L209) | Configures this project as a Shared VPC host project (mutually exclusive with shared_vpc_service_project). | object({…}) | | {…} | +| [shared_vpc_service_config](variables.tf#L221) | Configures this project as a Shared VPC service project (mutually exclusive with shared_vpc_host_config). | object({…}) | | {…} | +| [skip_delete](variables.tf#L233) | Allows the underlying resources to be destroyed without destroying the project itself. | bool | | false | ## Outputs diff --git a/modules/project/variables.tf b/modules/project/variables.tf index 971244cc3..4b581fa53 100644 --- a/modules/project/variables.tf +++ b/modules/project/variables.tf @@ -186,14 +186,16 @@ variable "service_encryption_key_ids" { default = {} } +# accessPolicies/ACCESS_POLICY_NAME/servicePerimeters/PERIMETER_NAME variable "service_perimeter_bridges" { - description = "Name of VPC-SC Bridge perimeters to add project into. Specify the name in the form of 'accessPolicies/ACCESS_POLICY_NAME/servicePerimeters/PERIMETER_NAME'." + description = "Name of VPC-SC Bridge perimeters to add project into. See comment in the variables file for format." type = list(string) default = null } +# accessPolicies/ACCESS_POLICY_NAME/servicePerimeters/PERIMETER_NAME variable "service_perimeter_standard" { - description = "Name of VPC-SC Standard perimeter to add project into. Specify the name in the form of 'accessPolicies/ACCESS_POLICY_NAME/servicePerimeters/PERIMETER_NAME'." + description = "Name of VPC-SC Standard perimeter to add project into. See comment in the variables file for format." type = string default = null }