Skip to content

Workspace deployment fails with App Insights Private Link Failure #3625

Open
@marrobi

Description

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.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingterraformPull requests that update Terraform codetracking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions