hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.58k stars 4.62k forks source link

azurerm_app_service_certificate_order - No Option to Link/Integrate it with the Key vault #22960

Open suhas-chandrashekar-maersk opened 1 year ago

suhas-chandrashekar-maersk commented 1 year ago

Is there an existing issue for this?

Community Note

Terraform Version

Terraform v1.4.2 on windows_386

AzureRM Provider Version

3.6.0

Affected Resource(s)/Data Source(s)

azurerm_app_service_certificate_order

Terraform Configuration Files

resource "azurerm_app_service_certificate_order" "app-service-cert" {

name = var.app_service_certificate_name
resource_group_name = azurerm_resource_group.rg.name
location = "global"
distinguished_name = "CN=*.testpoc.com" //Changed the Name
product_type =  "wildcard"
auto_renew = true
validity_in_years = 1
key_size = "2048"
}

output "certificate_certificates" {
  value = azurerm_app_service_certificate_order.sc-app-service-cert.certificates
}

Debug Output/Panic Output

Only Certificates will be ordered. But, in Portal, it still shows as "Configure required key vault Store". Need that to Link to the key vault automatically as a part of the automation. how to Achieve that?

Expected Behaviour

Only Certificates will be ordered. But, in Portal, it still shows as "Configure required key vault Store". Need that to Link to the key vault automatically as a part of the automation. how to Achieve that?

Actual Behaviour

No option to Store/configure the key vault after the certificate has been ordered.

Steps to Reproduce

resource "azurerm_app_service_certificate_order" "app-service-cert" {

name = var.app_service_certificate_name resource_group_name = azurerm_resource_group.rg.name location = "global" distinguished_name = "CN=*.testpoc.com" //Changed the Name product_type = "wildcard" auto_renew = true validity_in_years = 1 key_size = "2048" }

output "certificate_certificates" { value = azurerm_app_service_certificate_order.sc-app-service-cert.certificates }

Important Factoids

NA

References

NA

suhas-chandrashekar-maersk commented 1 year ago

Team, Any updates please? Thanks

httran13 commented 1 year ago

HALP

peyton-smith-kh commented 8 months ago

Has there ever been a resolution for this issue?