-
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 cdn endpoint custom domain - secret and certificate is required for import but getting error #23503
Comments
If I understand correctly, you are trying to import an existing Regarding the following error:
As it already indicated, you shall only specify |
@magodo after imported, I have ran the plan and it gives this change. It expects both the values. we have only KV cert configured and there is no KV secret for this custom domain.
|
@veldpworld In v3.0, both the |
Currently we use 3.75.0, I don't want to make any changes in the running resource. which version I should use to import? can you please refer that version? Thanks for your quick response! |
In this case, you can continue using the Regarding the following plan output:
Did you specify |
I kept it absent since we don't have kv secret, I only kept kv_cert only.. |
Then what triggers above plan diff (the plan diff shall tell one of the property introduces a replacement for the resource)? |
Thank you for taking the time to raise this! I am going to close this with @magodo‘s response as an answer. If you have future questions, I suggest using the Community Resources, such as the Azure Provider forum. |
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
3.5.8
AzureRM Provider Version
Affected Resource(s)/Data Source(s)
azurerm_cdn_endpoint_custom_domain
Terraform Configuration Files
It ask for both , if i provide both value , its giving the below error. I have the tls cert in the KV cert not the Kv secret.
Plan: 1 to add, 0 to change, 1 to destroy.
╷
│ Warning: Argument is deprecated
│
│ with azurerm_cdn_endpoint_custom_domain.current[0],
│ on main.tf line 18, in resource "azurerm_cdn_endpoint_custom_domain" "current":
│ 18: key_vault_certificate_id = var.user_managed_https.key_vault_certificate_id
The text was updated successfully, but these errors were encountered: