hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.59k stars 4.62k forks source link

Call to function "provider::azurerm::parse_resource_id" failed: could not determine resource ID type #27651

Open DevopsMercenary opened 6 days ago

DevopsMercenary commented 6 days ago

Is there an existing issue for this?

Community Note

Terraform Version

1.9.7

AzureRM Provider Version

4.5.0

Affected Resource(s)/Data Source(s)

provider::azurerm::parse_resource_id

Terraform Configuration Files

variable storage-account-container-resource-id {}

locals {
 storage-account-resource-map = provider::azurerm::parse_resource_id( var.storage-account-container-resource-id )
}

### Debug Output/Panic Output

```shell
│ Call to function "provider::azurerm::parse_resource_id" failed: could not determine resource ID type from
│ /subscriptions/0f8....3eb/resourceGroups/devops-storage-account/providers/Microsoft.Storage/storageAccounts/devopsstor123/blobServices/default/containers/changetrackingblob, ID may be malformed or currently
│ not supported in the provider.

Expected Behaviour

I expected the function to be able to parse the resource id

Actual Behaviour

No response

Steps to Reproduce

No response

Important Factoids

No response

References

No response

Chambras commented 2 days ago

Thanks for reporting this @DevopsMercenary yeah I tested with blob containers, and file shares and it seems those subservices under storage account are not supported yet.