Skip to content

Commit 979c966

Browse files
Remove default value for rule.rate_limit_options.encorce_on_key on resource google_compute_security_policy (#8804) (#15681)
Signed-off-by: Modular Magician <[email protected]>
1 parent 0140fae commit 979c966

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.changelog/8804.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:breaking-change
2+
compute: removed default value for `rule.rate_limit_options.encorce_on_key` on resource `google_compute_security_policy`
3+
```

google/services/compute/resource_compute_security_policy.go

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ func ResourceComputeSecurityPolicy() *schema.Resource {
212212
"enforce_on_key": {
213213
Type: schema.TypeString,
214214
Optional: true,
215-
Default: "ALL",
216215
Description: `Determines the key to enforce the rateLimitThreshold on`,
217216
ValidateFunc: validation.StringInSlice([]string{"ALL", "IP", "HTTP_HEADER", "XFF_IP", "HTTP_COOKIE", "HTTP_PATH", "SNI", "REGION_CODE", ""}, false),
218217
},

0 commit comments

Comments
 (0)