Added support for in-place update for replication.userManaged.replicas.customerManagedEncryption to google_secret_manager_secret resource#8755
Conversation
…anagedEncryption to google_secret_manager_secret resource
|
Hello! I am a robot. It looks like you are a: Community Contributor @shuyama1, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 2 files changed, 223 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccSecretManagerSecret_userManagedCmekUpdate|TestAccSecretManagerSecret_annotationsUpdate|TestAccSecretManagerSecret_versionAliasesUpdate|TestAccSpannerDatabaseIamPolicy |
|
Rerun these tests in REPLAYING mode to catch issues
|
|
@abheda-crest Thanks for making the change. Quick question: is replication.user_managed.replicas.customer_managed_encryption a mutable subfield of a chain of immutable fields? |
Yeah. replication.user_managed and replication.user_managed.replicas are immutable fields. Patching the |
|
@shuyama1 Could you please merge this PR? |
|
@abheda-crest Thank you for the ping. I'm taking a review now and will merge the PR if no changes needed. |
shuyama1
left a comment
There was a problem hiding this comment.
LGTM, only some nit-picks. Thanks for adding thorough testing! I've checked the debug logs and confirmed that the resource was update in-place instead of recreated.
| replicas { | ||
| location = "us-central1" | ||
| } | ||
| replicas { |
There was a problem hiding this comment.
| replicas { | |
| replicas { |
nit-picks
There was a problem hiding this comment.
Thanks for the review! I've added the extra whitespaces.
| kms_key_name = "%{kms_key_name_central}" | ||
| } | ||
| } | ||
| replicas { |
There was a problem hiding this comment.
| replicas { | |
| replicas { |
| kms_key_name = "%{kms_key_name_central_other}" | ||
| } | ||
| } | ||
| replicas { |
There was a problem hiding this comment.
| replicas { | |
| replicas { |
…t-manager-usermanaged-cmek-inplace-update
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 2 files changed, 223 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccSpannerInstanceIamPolicy |
|
Rerun these tests in REPLAYING mode to catch issues
|
…s.customerManagedEncryption to google_secret_manager_secret resource (GoogleCloudPlatform#8755)
…s.customerManagedEncryption to google_secret_manager_secret resource (GoogleCloudPlatform#8755)
Added support for the in-place update of the
replication.userManaged.replicas.customerManagedEncryptionto thegoogle_secret_manager_secretresource.fixes hashicorp/terraform-provider-google#15011
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)