Skip to content

Commit

Permalink
Add override to make violation_notifications_enabled field default …
Browse files Browse the repository at this point in the history
…from API when unset (#9420) (#16465)

[upstream:c1fa7033c9d1d94de3c2587e80800fd787f058dc]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Nov 7, 2023
1 parent 58a962e commit 8a2608e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/9420.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
assuredworkloads: made the `violation_notifications_enabled` field on the `google_assured_workloads_workload` resource default to values returned from the API when unset in a users configuration
```
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ func ResourceAssuredWorkloadsWorkload() *schema.Resource {

"violation_notifications_enabled": {
Type: schema.TypeBool,
Computed: true,
Optional: true,
ForceNew: true,
Description: "Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.",
Expand Down

0 comments on commit 8a2608e

Please sign in to comment.