From 85e9a46a9e381ee7f8ae03554fc6377e81abab2a Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Thu, 10 Jun 2021 02:35:20 +0000 Subject: [PATCH] add SLASH_23 support (#4862) Signed-off-by: Modular Magician --- .changelog/4862.txt | 3 +++ google-beta/resource_apigee_instance.go | 4 ++-- website/docs/r/apigee_instance.html.markdown | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .changelog/4862.txt diff --git a/.changelog/4862.txt b/.changelog/4862.txt new file mode 100644 index 0000000000..047368252e --- /dev/null +++ b/.changelog/4862.txt @@ -0,0 +1,3 @@ +```release-note:bug +apigee: added SLASH_23 support for `peering_cidr_range` on `google_apigee_instance` +``` diff --git a/google-beta/resource_apigee_instance.go b/google-beta/resource_apigee_instance.go index e60b502e50..dbe08c7721 100644 --- a/google-beta/resource_apigee_instance.go +++ b/google-beta/resource_apigee_instance.go @@ -85,8 +85,8 @@ Use the following format: 'projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/c Type: schema.TypeString, Optional: true, ForceNew: true, - ValidateFunc: validation.StringInSlice([]string{"SLASH_16", "SLASH_20", ""}, false), - Description: `The size of the CIDR block range that will be reserved by the instance. Possible values: ["SLASH_16", "SLASH_20"]`, + ValidateFunc: validation.StringInSlice([]string{"SLASH_16", "SLASH_20", "SLASH_23", ""}, false), + Description: `The size of the CIDR block range that will be reserved by the instance. Possible values: ["SLASH_16", "SLASH_20", "SLASH_23"]`, }, "host": { Type: schema.TypeString, diff --git a/website/docs/r/apigee_instance.html.markdown b/website/docs/r/apigee_instance.html.markdown index 7573f91a98..38934cba67 100644 --- a/website/docs/r/apigee_instance.html.markdown +++ b/website/docs/r/apigee_instance.html.markdown @@ -172,7 +172,7 @@ The following arguments are supported: * `peering_cidr_range` - (Optional) The size of the CIDR block range that will be reserved by the instance. - Possible values are `SLASH_16` and `SLASH_20`. + Possible values are `SLASH_16`, `SLASH_20`, and `SLASH_23`. * `description` - (Optional)