Getting issue in recreating azure resources using terraform

Singh, Pradeep 0 Reputation points

Initially I had created azure resources and due to naming conventions I deleted resources and tried to recreate it.

It is giving error in creating data_lake_gen2_path.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,196 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 8,605 Reputation points

    It's possible that when you deleted the Azure resources, some associated resources were not completely removed or the naming convention was not correctly applied. This can cause errors when trying to recreate the resources with the same name.

    To troubleshoot this issue, you can try the following steps:

    Check if the deleted resources are completely removed or not. You can use the Azure portal or Azure CLI to check the status of the resources.

    If there are still resources associated with the previous creation, remove them manually using Azure portal or Azure CLI.

    Double-check the naming convention before recreating the resources. Make sure that you follow the standard naming conventions and avoid any special characters or spaces.

    If the issue persists, try creating the resources with a different name to see if it's a naming conflict issue.

    Check the Azure logs or error messages for more information about the error and take appropriate actions accordingly.

    Regarding the error related to 'mazurerm_storage_data_lake_gen2_path.shared_team_data', please provide more context or details about the error message for me to be able to assist you further.

    0 comments No comments