-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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_container_app - Does not allow multiple custom_domain blocks #20784
Comments
You should have a list of objects:
|
I believe this needs to be implemented as an external resource in the same pattern as per |
Any update on this? I'm also having this issue. The PR appears to be mostly done |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
1.3.5
AzureRM Provider Version
3.45.0
Affected Resource(s)/Data Source(s)
azurerm_container_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
According to the documentation:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/container_app#custom_domain
One or more custom_domain block should be allowed and hence when applying terraform,
Container App should be created with 2 custom domains configured.
Actual Behaviour
terraform plan fails with the following validation error:
Looking at the code (With my very limited knowledge of Go)
In the customDomain schema
maxitems
seems to be set to one which could be the problem.Steps to Reproduce
terraform plan
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: