-
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
New Resource: azurerm_app_service_certificate_binding #9415
New Resource: azurerm_app_service_certificate_binding #9415
Conversation
I think it does 👍 |
thinking about it again... sorry i was a bit confused: the original issue was to introduce the ability to create 'managed certificates' (#4824). So this is "only" the prerequisite. |
@imod yeah I've been chipping away at @4824... we have a few PRs open right now which will complete it once finished... #9378 #9415 #9409... I've got a branch with them all merged if you want to build you own for now... https://github.com/AdamCoulterOz/terraform-provider-azurerm/tree/app_service_and_custom_domain |
@jackofallops we need this included in the next azurerm release... what can I do to help get it there? |
Hi @AdamCoulterOz - I have this covered in the PR 9631 mentioned above, hopefully get it into today's release. |
Tests passing locally:
|
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 @AdamCoulterOz @jackofallops
Thanks for this PR.
I've taken a look through and left some comments inline but this otherwise LGTM 👍
Thanks!
azurerm/internal/services/web/app_service_certificate_binding_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/app_service_certificate_binding_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/app_service_certificate_binding_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/app_service_certificate_binding_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/app_service_certificate_binding_resource.go
Outdated
Show resolved
Hide resolved
Post review fix tests passing:
|
This has been released in version 2.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 = "~> 2.40.0"
}
# ... other configuration ... |
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 👉 hashibot-feedback@hashicorp.com. Thanks! |
This fixes #8069.
This is a separation of the certificate binding from the existing
azurerm_app_service_custom_hostname_binding
. This new resourceazurerm_app_service_certificate_binding
breaks the circular dependency with theazurerm_app_service_managed_certificate
needing to be created after theazurerm_app_service_custom_hostname_binding
resource, but before the certificate association part of it.This still needs tests and documentation, will add in the next few days.
@phekmat / @imod - does this help address both of your contexts within #8069 ?