GoogleCloudPlatform / terraform-validator

Terraform Validator is not an officially supported Google product; it is a library for conversion of Terraform plan data to CAI Assets. If you have been using terraform-validator directly in the past, we recommend migrating to `gcloud beta terraform vet`.
https://cloud.google.com/docs/terraform/policy-validation
Apache License 2.0
438 stars 93 forks source link

Added updation capability in google_data_loss_prevention_stored_info_type resource #1537

Closed modular-magician closed 1 year ago

modular-magician commented 1 year ago

Added updation capability for dictionary, regex, and large_custom_dictionary fields in the google_data_loss_prevention_stored_info_type resource.

Added updation capability for the group_indexes subfield inside the regex field in the google_data_loss_prevention_stored_info_type resource.

fixes https://github.com/hashicorp/terraform-provider-google/issues/8435

If this PR is for Terraform, I acknowledge that I have:

Release Note Template for Downstream PRs (will be copied)

dlp: Changed `dictionary`, `regex`, `regex.group_indexes` and `large_custom_dictionary` fields in `google_data_loss_prevention_stored_info_type` to be update-in-place

Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/7601