-
Notifications
You must be signed in to change notification settings - Fork 4.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
azurerm_application_gateway - add trusted_root_certificate_names property #4821
Conversation
…ettings, possible fix for hashicorp#4502
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @majimenez-stratio, this is a good start but we need to set this value in state and add a test that it works. I also suggested a different way to implement this for simplicity that I'm interested in discussing further.
Required: true, | ||
}, | ||
|
||
"id": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you see anyone using this id
anywhere? If not, it might be worth removing this block entirely and just having an attribute called trusted_root_certificate_name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mbfrahry, you're right, I don't think id is needed, a list of strings should be enough. I pushed a new commit with your suggestion and managed the state. Let me know what you think. Unit test is still missing, I'll try to provide one asap.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for swapping those out and these changes look good but we need a test to confirm that we can create and update an application_gateway with trusted root certificates
Thank you for opening this PR, given its been a while i've gone ahead and made the required changes. I hope you don't mind but as i cannot push to your branch i have opened #5204 to continue the work and get this meged. As such i am going to close this pr in favour of it. Thanks again! |
This has been released in version 1.40.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 1.40.0"
}
# ... other configuration ... |
Sorry but i want to get some clarification on this fix. Is this going to allow me to use the authentication_certificate inside the backend_http_settings (as shown below)? backend_http_settings { The reason i am trying to understand is this because even after upgrading to version 1.40 for terraform i am still getting same error. I did post this few days ago https://discuss.hashicorp.com/t/using-trusted-root-certificate-for-application-gateway-v2/4883 but can't really see any way forward. |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Possible fix for issue #4502