Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add update_encoder to target proxy compute resources #17733

Conversation

modular-magician
Copy link
Collaborator

Add update_encoder to ComputeTargetHttpsProxy and ComputeRegionTargetHttpsProxy resources.

In case a customer changes the field certificate_manager_certificate, the encoder logic does not get applied. I fixed this by using update_encoder which is the same as the encoder.

The reason that encoder is not applied during the update might relate to the fact that those resources are immutable, though there is a field-specific-update that overrides this (see the YAQ question below)

Fixes: /issues/17641

yaqs/2098594962982567936
b/329516022

Release Note Template for Downstream PRs (will be copied)

compute: Added explicit update_encoder to `ComputeTargetHttpsProxy` and `ComputeRegionTargetHttpsProxy` resources.

Derived from GoogleCloudPlatform/magic-modules#10261

Co-authored-by: Hamza Hassan <hamzahassan@google.com>

[upstream:6512a3d1c9e6e85e222e072af9d850772fa709d9]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 287c9e3 into hashicorp:main Mar 30, 2024
4 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant