From 0aaa1b8217c0afee738fd22de22612011c7e99b2 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 14 Jul 2021 19:28:48 +0000 Subject: [PATCH] changed support of SLASH_22 (#4966) Signed-off-by: Modular Magician --- .changelog/4966.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/4966.txt diff --git a/.changelog/4966.txt b/.changelog/4966.txt new file mode 100644 index 0000000000..05f12eb4e4 --- /dev/null +++ b/.changelog/4966.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +Added SLASH_22 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 dbe08c7721..6c06fa2517 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", "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"]`, + ValidateFunc: validation.StringInSlice([]string{"SLASH_16", "SLASH_20", "SLASH_22", ""}, false), + Description: `The size of the CIDR block range that will be reserved by the instance. Possible values: ["SLASH_16", "SLASH_20", "SLASH_22"]`, }, "host": { Type: schema.TypeString, diff --git a/website/docs/r/apigee_instance.html.markdown b/website/docs/r/apigee_instance.html.markdown index 38934cba67..efedc426a9 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`, `SLASH_20`, and `SLASH_23`. + Possible values are `SLASH_16`, `SLASH_20`, and `SLASH_22`. * `description` - (Optional)