Skip to content

Commit 2425e7f

Browse files
regex sub fields are set to accept the updates (#4458) (#8439)
* regex sub fields are set to accept the updates Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent f2e8267 commit 2425e7f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.changelog/4458.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
dlp : modified `google_data_loss_prevention_stored_info_type` `regex.group_indexes` field to trigger resource recreation on update
3+
```

google/resource_data_loss_prevention_stored_info_type.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the go
224224
"group_indexes": {
225225
Type: schema.TypeList,
226226
Optional: true,
227+
ForceNew: true,
227228
Description: `The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.`,
228229
Elem: &schema.Schema{
229230
Type: schema.TypeInt,

0 commit comments

Comments
 (0)