Skip to content

Commit

Permalink
fix: added ENTERPRISE option to GKE Hub Fleet Security Posture setting (
Browse files Browse the repository at this point in the history
#10895) (#18440)

[upstream:7f7c253af3ae1b79814a2893d9cf4e6b405b4049]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Jun 13, 2024
1 parent 189a946 commit 06d9424
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/10895.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
gkehub2: Added `ENTERPRISE` option to `SecurityPostureConfig` on `google_gke_hub_fleet` resource
```
4 changes: 2 additions & 2 deletions google/services/gkehub2/resource_gke_hub_fleet.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ platform policies have the following format:
"mode": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: verify.ValidateEnum([]string{"DISABLED", "BASIC", ""}),
Description: `Sets which mode to use for Security Posture features. Possible values: ["DISABLED", "BASIC"]`,
ValidateFunc: verify.ValidateEnum([]string{"DISABLED", "BASIC", "ENTERPRISE", ""}),
Description: `Sets which mode to use for Security Posture features. Possible values: ["DISABLED", "BASIC", "ENTERPRISE"]`,
},
"vulnerability_mode": {
Type: schema.TypeString,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/gke_hub_fleet.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The following arguments are supported:
* `mode` -
(Optional)
Sets which mode to use for Security Posture features.
Possible values are: `DISABLED`, `BASIC`.
Possible values are: `DISABLED`, `BASIC`, `ENTERPRISE`.

* `vulnerability_mode` -
(Optional)
Expand Down

0 comments on commit 06d9424

Please sign in to comment.