Skip to content

Commit

Permalink
changed support of SLASH_22 (#4966) (#9558)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jul 14, 2021
1 parent 874714f commit 845e7bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/4966.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
Added SLASH_22 support for `peering_cidr_range` on `google_apigee_instance`
```
4 changes: 2 additions & 2 deletions google/resource_apigee_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/apigee_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 845e7bb

Please sign in to comment.