diff --git a/.changelog/4458.txt b/.changelog/4458.txt new file mode 100644 index 00000000000..3bef9eebcb5 --- /dev/null +++ b/.changelog/4458.txt @@ -0,0 +1,3 @@ +```release-note:bug +dlp : modified `google_data_loss_prevention_stored_info_type` `regex.group_indexes` field to trigger resource recreation on update +``` diff --git a/google/resource_data_loss_prevention_stored_info_type.go b/google/resource_data_loss_prevention_stored_info_type.go index c8bcff53797..a3e2a97e663 100644 --- a/google/resource_data_loss_prevention_stored_info_type.go +++ b/google/resource_data_loss_prevention_stored_info_type.go @@ -224,6 +224,7 @@ Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the go "group_indexes": { Type: schema.TypeList, Optional: true, + ForceNew: true, 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.`, Elem: &schema.Schema{ Type: schema.TypeInt,