From 307bda4fed8c55e8e37526644a3e401ac875b6ac Mon Sep 17 00:00:00 2001 From: Alex Lo Date: Thu, 11 Aug 2022 03:55:39 -0400 Subject: [PATCH] apigee-x-instance.ip_range cannot take Support CIDR (#727) * Instance.ip_range cannot take Support CIDR Current docs are incorrect. It is not possible to specify the Support range. See https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.instances#Instance > ipRange > string > Optional. IP range represents the customer-provided CIDR block of length 22 that will be used for the Apigee instance creation. This optional range, if provided, should be freely available as part of larger named range the customer has allocated to the Service Networking peering. If this is not provided, Apigee will automatically request for any available /22 CIDR block from Service Networking. The customer should use this CIDR block for configuring their firewall needs to allow traffic from Apigee. Input format: "a.b.c.d/22", Output format: a.b.c.d/22, e.f.g.h/28" * tfdoc Co-authored-by: Ludovico Magnocavallo --- modules/apigee-x-instance/README.md | 2 +- modules/apigee-x-instance/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/apigee-x-instance/README.md b/modules/apigee-x-instance/README.md index 492b1234e1..f2eec64f4f 100644 --- a/modules/apigee-x-instance/README.md +++ b/modules/apigee-x-instance/README.md @@ -55,7 +55,7 @@ module "apigee-x-instance" { | [apigee_environments](variables.tf#L26) | Apigee Environment Names. | list(string) | | [] | | [consumer_accept_list](variables.tf#L37) | List of projects (id/number) that can privately connect to the service attachment. | list(string) | | null | | [disk_encryption_key](variables.tf#L49) | Customer Managed Encryption Key (CMEK) self link (e.g. `projects/foo/locations/us/keyRings/bar/cryptoKeys/baz`) used for disk and volume encryption (required for PAID Apigee Orgs only). | string | | null | -| [ip_range](variables.tf#L43) | Customer-provided CIDR blocks of length 22 and 28 for the Apigee instance (e.g. `10.0.0.0/22,10.1.0.0/28`). | string | | null | +| [ip_range](variables.tf#L43) | Input: Customer-provided CIDR blocks of length 22 (e.g. `10.0.0.0/22`) Output: Main and Support CIDR (e.g. `10.0.0.0/22,10.1.0.0/28`). | string | | null | ## Outputs diff --git a/modules/apigee-x-instance/variables.tf b/modules/apigee-x-instance/variables.tf index 117e15fdc9..bc389abfd7 100644 --- a/modules/apigee-x-instance/variables.tf +++ b/modules/apigee-x-instance/variables.tf @@ -41,7 +41,7 @@ variable "consumer_accept_list" { } variable "ip_range" { - description = "Customer-provided CIDR blocks of length 22 and 28 for the Apigee instance (e.g. `10.0.0.0/22,10.1.0.0/28`)." + description = "Input: Customer-provided CIDR blocks of length 22 (e.g. `10.0.0.0/22`) Output: Main and Support CIDR (e.g. `10.0.0.0/22,10.1.0.0/28`)." type = string default = null }