-
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_container_app_environment
- add support for the Custom DNS Suffix (via the new azurerm_container_app_environment_custom_domain
resource) and expose the custom_domain_verification_id
attribute
#24346
azurerm_container_app_environment
- add support for the Custom DNS Suffix (via the new azurerm_container_app_environment_custom_domain
resource) and expose the custom_domain_verification_id
attribute
#24346
Conversation
866ac0a
to
d638e4a
Compare
Hi @katbyte, thanks for approving the workflows earlier. I can see one of the checks fails but that seems to be unrelated to my changes.
I have now rebase my commits to the latest main. Hopefully all the checks are good now. |
Can I have a review, @jackofallops ? Thanks! |
4f74e14
to
9f0d6b3
Compare
Or maybe @katbyte can review? |
anyone who could do the review please ? :) My Cx is looking for the same thing and it blocks the deployment of ACA. I did a code review and it looks fine to me. thanks :) ps: @iambaim thanks for the work ! |
Hi @jackofallops are there any plans to merge this request? any ETA? |
any updates on this PR? my customer is blocked |
Hi Team, when this could be available? any ETA please |
@katbyte for visibility. thanks <3 |
Just synced the code with main. Ready for another round of testing, @katbyte and @jackofallops . Thanks! |
@tombuildsstuff can this be merged?
|
Users wanting to implement any form of custom domains in their Azure Container Apps are in a bit of a pickle now as this is still pending and the on-going issue with |
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 @iambaim - Thanks for this PR.
The successful completion of this configuration requires that the CustomDomainVerificationId
already be present in resolvable DNS so, for this to be supported in Terraform, this will need to be a separate resource, as is necessary for azurerm_container_app_custom_domain
, perhaps called azurerm_container_app_environment_custom_domain
. This virtual resource can then update the Environment after the verification ID is known, and a DNS record can be created in the correct sequence to be present (and used as reference to ensure the dependency graph is in the correct order).
The CustomDomainVerificationId
should also be added to the azurerm_container_app_environment
Data Source when the resource is updated.
Can you take a look at splitting this into a new virtual resource, and adding the property to the Data Source, and we'll pick up review from there?
Thanks!
internal/services/containerapps/container_app_environment_resource.go
Outdated
Show resolved
Hide resolved
Hi @jackofallops , thanks for the suggestion. I agree, this is a better approach. WIll update the branch in a few days :) |
dd25ca1
to
60b7220
Compare
60b7220
to
0e2142c
Compare
0e2142c
to
d0ec8e1
Compare
azurerm_container_app_environment
- add support for the Custom DNS Suffix and expose the custom_domain_verification_id
attributeazurerm_container_app_environment
- add support for the Custom DNS Suffix (via the new azurerm_container_app_environment_custom_domain
resource) and expose the custom_domain_verification_id
attribute
Hello @jackofallops . The codes are now ready for review. FYI, the addition of Thanks! |
website/docs/r/container_app_environment_custom_domain.html.markdown
Outdated
Show resolved
Hide resolved
…ent_custom_domain` resource parameters
Thanks for the review, @katbyte. I have updated the code. |
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.
aside from a few minor comments this LGTM 🕯️
website/docs/r/container_app_environment_custom_domain.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/container_app_environment_custom_domain.html.markdown
Outdated
Show resolved
Hide resolved
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 contributions. |
Community Note
Description
This PR:
azurerm_container_app_environment_custom_domain
.custom_domain_verification_id
attribute) inazurerm_container_app_environment
's resource and data source.PR Checklist
Changes to existing Resource / Data Source
Testing
https://github.com/iambaim/terraform-provider-azurerm/actions/runs/8861417824/job/24333261609#step:7:1
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_container_app_environment_custom_domain
#24346azurerm_container_app_environment
- expose thecustom_domain_verification_id
attribute #24346This is a (please select all that apply):
Related Issue(s)
Fixes #24190, fixes #20829, fixes #20502