From c4c851c1dc6e9f12d3382d8f5d27de85d1eff51b Mon Sep 17 00:00:00 2001 From: Ludo Date: Wed, 20 Sep 2023 10:53:44 +0200 Subject: [PATCH] remove duplicate variable members --- modules/apigee/README.md | 6 +++--- modules/apigee/variables.tf | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/apigee/README.md b/modules/apigee/README.md index 906ce95a..7692d6f4 100644 --- a/modules/apigee/README.md +++ b/modules/apigee/README.md @@ -316,13 +316,13 @@ module "apigee" { | name | description | type | required | default | |---|---|:---:|:---:|:---:| -| [project_id](variables.tf#L119) | Project ID. | string | ✓ | | +| [project_id](variables.tf#L117) | Project ID. | string | ✓ | | | [addons_config](variables.tf#L17) | Addons configuration. | object({…}) | | null | | [endpoint_attachments](variables.tf#L29) | Endpoint attachments. | map(object({…})) | | {} | | [envgroups](variables.tf#L39) | Environment groups (NAME => [HOSTNAMES]). | map(list(string)) | | {} | | [environments](variables.tf#L46) | Environments. | map(object({…})) | | {} | -| [instances](variables.tf#L64) | Instances ([REGION] => [INSTANCE]). | map(object({…})) | | {} | -| [organization](variables.tf#L91) | Apigee organization. If set to null the organization must already exist. | object({…}) | | null | +| [instances](variables.tf#L64) | Instances ([REGION] => [INSTANCE]). | map(object({…})) | | {} | +| [organization](variables.tf#L89) | Apigee organization. If set to null the organization must already exist. | object({…}) | | null | ## Outputs diff --git a/modules/apigee/variables.tf b/modules/apigee/variables.tf index 3109956d..78549507 100644 --- a/modules/apigee/variables.tf +++ b/modules/apigee/variables.tf @@ -66,13 +66,11 @@ variable "instances" { type = map(object({ name = optional(string) display_name = optional(string) - name = optional(string) description = optional(string, "Terraform-managed") runtime_ip_cidr_range = optional(string) troubleshooting_ip_cidr_range = optional(string) disk_encryption_key = optional(string) consumer_accept_list = optional(list(string)) - environments = optional(list(string)) enable_nat = optional(bool, false) environments = optional(list(string)) }))