Closed rmelick-muon closed 8 months ago
Terraform needing to delete the contact profile is an issue, because you cannot delete a contact profile if you have ever used that profile to conduct a Contact in the past (unless you also delete all of those past Contact objects)
Hi @rmelick-muon, thanks for reporting.
I have opened a PR for this(https://github.com/hashicorp/terraform-provider-azurerm/pull/25129), once it merged & released it should be fixed.
Thanks
Thanks @ziyeqf! Looking forward to testing once it's released :)
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.9
AzureRM Provider Version
3.93.0
Affected Resource(s)/Data Source(s)
azurerm_orbital_contact_profile
Terraform Configuration Files
Original terraform configuration
Terraform config that adds a new channel to the Contact Profile
Debug Output/Panic Output
Here is the output of
terraform plan
Expected Behaviour
Adding an additional channel should not require deleting the contact profile. The API has a way to update the contact profile. And, from the Azure portal I am able to add a new channel without deleting the contact profile.
Actual Behaviour
The terraform plan showed that it needed to delete the contact profile before it could add a channel.
Steps to Reproduce
terraform plan
Important Factoids
No response
References
No response