You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform (and AzureRM Provider) Version
$ terraform -v
Terraform v0.12.28
+ provider.azurerm v2.20.0
+ provider.external v1.2.0
+ provider.local v1.4.0
+ provider.null v2.1.2
+ provider.random v2.3.0
Your version of Terraform is out of date! The latest version
is 0.13.0. You can update by downloading from https://www.terraform.io/downloads.html
$ terraform import azurerm_frontdoor_custom_https_configuration.afd_https /subscriptions/.../resourcegroups/.../providers/Microsoft.Network/frontdoors/.../frontendendpoints/.../customHttpsConfiguration/...
...
Import successful!
The resources that were imported are shown above. These resources are now in
your Terraform state and will henceforth be managed by Terraform.
$ terraform plan
...
# azurerm_frontdoor_custom_https_configuration.afd_https must be replaced
-/+ resource "azurerm_frontdoor_custom_https_configuration" "afd_https" {
custom_https_provisioning_enabled = true
frontend_endpoint_id = "..."
~ id = "..." -> (known after apply)
+ resource_group_name = "..." # forces replacement
~ custom_https_configuration {
certificate_source = "FrontDoor"
~ minimum_tls_version = "1.2" -> (known after apply)
~ provisioning_state = "Enabled" -> (known after apply)
~ provisioning_substate = "CertificateDeployed" -> (known after apply)
}
- timeouts {}
}
...
Panic Output
Expected Behavior
After importing the front door HTTPs configuration, terraform plan should not state that it requires to recreate the resource.
Actual Behavior
The import did not pick up the resource group; a resource group change forces a re-create of the resource; terraform thinks it needs to re-create the configuration
Steps to Reproduce
See debug output
Important Factoids
References
The ImportStatePassthrough importer is used, which appears to not be sufficient for this resource:
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 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Sep 19, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_frontdoor_custom_https_configuration
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
After importing the front door HTTPs configuration,
terraform plan
should not state that it requires to recreate the resource.Actual Behavior
The import did not pick up the resource group; a resource group change forces a re-create of the resource; terraform thinks it needs to re-create the configuration
Steps to Reproduce
See debug output
Important Factoids
References
ImportStatePassthrough
importer is used, which appears to not be sufficient for this resource:The text was updated successfully, but these errors were encountered: