Skip to content

Commit

Permalink
Add STANDARD_WITH_GRAPHQL option to json_parsing field in `google…
Browse files Browse the repository at this point in the history
…_compute_security_policy` resource (#9871) (#17097)

* Add `STANDARD_WITH_GRAPHQL` option to `advanced_options_config`

* Update resource_compute_security_policy_test.go.erb
[upstream:d26f4576e5aad587d2342d3852cd04845116320d]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jan 24, 2024
1 parent afdec59 commit 2b2d3e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/9871.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
compute: updated the `google_compute_security_policy` resource's `json_parsing` field to accept the value STANDARD_WITH_GRAPHQL
```
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func ResourceComputeSecurityPolicy() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Computed: true,
ValidateFunc: validation.StringInSlice([]string{"DISABLED", "STANDARD"}, false),
ValidateFunc: validation.StringInSlice([]string{"DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL"}, false),
Description: `JSON body parsing. Supported values include: "DISABLED", "STANDARD".`,
},
"json_custom_config": {
Expand Down

0 comments on commit 2b2d3e3

Please sign in to comment.