Skip to content
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

Workspace deployment fails with App Insights Private Link Failure #3625

Open
marrobi opened this issue Jul 20, 2023 · 1 comment
Open

Workspace deployment fails with App Insights Private Link Failure #3625

marrobi opened this issue Jul 20, 2023 · 1 comment
Labels
bug Something isn't working terraform Pull requests that update Terraform code tracking

Comments

@marrobi
Copy link
Member

marrobi commented Jul 20, 2023

Occasionally workspace deployment fails with "unexpected new value: Root resource was present, but now absent":

action": "install",
      "message": "de2ecc1f-b993-458c-bc38-39b431961773: Error message: \u001b[31m╷\u001b[0m\u001b[0m \u001b[31m│\u001b[0m \u001b[0m\u001b[1m\u001b[31mError: \u001b[0m\u001b[0m\u001b[1mProvider produced inconsistent result after apply\u001b[0m \u001b[31m│\u001b[0m \u001b[0m \u001b[31m│\u001b[0m \u001b[0m\u001b[0mWhen applying changes to \u001b[31m│\u001b[0m \u001b[0mmodule.azure_monitor.azurerm_monitor_private_link_scope.workspace, provider \u001b[31m│\u001b[0m \u001b[0m\"provider[\\\"registry.terraform.io/hashicorp/azurerm\\\"]\" produced an \u001b[31m│\u001b[0m \u001b[0munexpected new value: Root resource was present, but now absent. \u001b[31m│\u001b[0m \u001b[0m \u001b[31m│\u001b[0m \u001b[0mThis is a bug in the provider, which should be reported in the provider's \u001b[31m│\u001b[0m \u001b[0mown issue tracker

A workaround is to use the AzAPI provider, as per PR #3581

This needs further investigation and an issue creating in the Terraform provider repository.

@marrobi marrobi added the bug Something isn't working label Jul 20, 2023
@marrobi marrobi changed the title Workspace deployment fails with pp Insights Private Link Faliure Workspace deployment fails with App Insights Private Link Faliure Jul 20, 2023
@SvenAelterman SvenAelterman changed the title Workspace deployment fails with App Insights Private Link Faliure Workspace deployment fails with App Insights Private Link Failure Aug 24, 2023
@tim-p-allen tim-p-allen added terraform Pull requests that update Terraform code tracking labels May 9, 2024
@jonnyry
Copy link
Collaborator

jonnyry commented Dec 26, 2024

This may be related hashicorp/terraform-provider-azurerm#28356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working terraform Pull requests that update Terraform code tracking
Projects
None yet
Development

No branches or pull requests

3 participants