-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Resource google_compute_target_https_proxy
fails to update certificates with certificate_manager_certificates
attribute
#17641
Resource google_compute_target_https_proxy
fails to update certificates with certificate_manager_certificates
attribute
#17641
Comments
google_compute_target_https_proxy
fails to update certificates with certificate_manager_certificates attributegoogle_compute_target_https_proxy
fails to update certificates with certificate_manager_certificates
attribute
Hi @K3nks as the error says: |
The documentation specifies a List:
From the error it seems its expecting a |
@K3nks could you please provide a link to verify this information? |
After checking the documentation link it specify a format for the |
Note from triage: This is a bug, not a documentation issue. "Certificate Map" does not indicate that the value should be a map; rather, certificateMap is another field on this resource (referencing a CertificateMap API field.) certificate_manager_certificates is actually sent to the API in the sslCertificates field, so this configuration should result in the correct API resource being created (or updated.) Something is going wrong here and will need to be investigated further. attn @ggtisc |
This is a bug and will be fixed by GoogleCloudPlatform/magic-modules#10261
Yes, and this conversion is done using a custom_encoder that should be triggered to modify both the creation request and the update request. However, for yaqs/2098594962982567936 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform Version
1.5.1
Affected Resource(s)
google_compute_target_https_proxy
Terraform Configuration
Debug Output
No response
Expected Behavior
The target proxy certificates are updated from certificate_manager_certificates
Actual Behavior
The update of certificates on
google_compute_target_https_proxy
from certificate_manager_certificates failsSteps to reproduce
terraform apply
Important Factoids
Using
google
provider version5.21.0
References
The above terraform configuration is based on the documented example in the provider documentation:
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_target_https_proxy#example-usage---target-https-proxy-certificate-manager-certificate
b/331207883
The text was updated successfully, but these errors were encountered: