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

Issue using certificate map #372

Closed
lbordowitz opened this issue Oct 25, 2023 · 2 comments · Fixed by #382
Closed

Issue using certificate map #372

lbordowitz opened this issue Oct 25, 2023 · 2 comments · Fixed by #382
Labels
bug Something isn't working

Comments

@lbordowitz
Copy link

TL;DR

I'm having a lot of trouble using the certificate_map variable. Could you make an example of it being used?

Terraform Resources

No response

Detailed design

No response

Additional information

I've tried with use_ssl_certificates=true and use_ssl_certificates=false. If it's false, the private_key and certificate are required; these overrule any certificate map setting. If it's true, it requires ssl_certificates be nonempty. However, ssl_certificates will not accept a google_certificate_manager_certificate; the last part of the resource is the only part that's referenced, and the resource url is rewritten as a classic certificate instead of being a "Certificate Manager" certificate. So, I don't know how to actually use the certificate_map variable that's provided. In fact, I don't think I've ever seen a "Certificate Manager" certificate successfully used with the https_proxy resource.

@lbordowitz lbordowitz added the enhancement New feature or request label Oct 25, 2023
@imrannayer imrannayer added bug Something isn't working and removed enhancement New feature or request labels Oct 30, 2023
@imrannayer imrannayer changed the title Example using certificate map Issue using certificate map Oct 31, 2023
@imrannayer
Copy link
Collaborator

In order to pass certificate_map, use_ssl_certificates needs to be false and ssl_certificates will be []. Module is not able to handle this scenario. Changing this issue as bug.

@imrannayer
Copy link
Collaborator

@lbordowitz #382 will fix the issue. I had to make changes to some parameters as old parameters were too limited and was causing certificate map issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants