Closed sergenyalcin closed 7 months ago
azurerm_shared_image_version error says that name must start with a letter or underscore and may contain only letters, digits, underscores, and dashes, but 1.0.0 format
is accepted as Version number on UI
message: "connect failed: cannot get a terraform workspace for resource: cannot init workspace: \e[31m\e[0mThere are some problems with the configuration, described below.\n\nThe Terraform configuration must be valid before initialization so that\nTerraform can determine which modules and providers need to be installed.\e[0m\e[0m\n\e[31m\e[31m╷\e[0m\e[0m\n\e[31m│\e[0m \e[0m\e[1m\e[31mError: \e[0m\e[0m\e[1mInvalid resource name\e[0m\n\e[31m│\e[0m \e[0m\n\e[31m│\e[0m \e[0m\e[0m on main.tf.json line 1, in resource.azurerm_shared_image_version:\n\e[31m│\e[0m \e[0m 1: {\"provider\":{\"azurerm\":{\"client_id\":\"0770a5e0-dc3c-4775-a080-94a9ce980c8d\",\"client_secret\":\".4v8Q~SOiSD4ZzY4Iyv1~h-dyUZdrjHWv.0Iuckk\",\"features\":{},\"skip_provider_registration\":true,\"subscription_id\":\"038f2b7c-3265-43b8-8624-c9ad5da610a8\",\"tenant_id\":\"b9925bc4-8383-4c37-b9d2-fa456d1bb1c7\"}},\"resource\":{\"azurerm_shared_image_version\":{\e[4m\"1.0.0\"\e[0m:{\"gallery_name\":\"sharedimagegallery\",\"image_name\":\"sharedimageone\",\"lifecycle\":{\"prevent_destroy\":true},\"location\":\"West Europe\",\"name\":\"1.0.0\",\"os_disk_snapshot_id\":\"/subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/shared-image-r-group/providers/Microsoft.Compute/disks/virtual-machine_OsDisk_1_0e11307909934e99866b3b6282ceabf0\",\"resource_group_name\":\"shared-image-r-group\",\"target_region\":[{\"name\":\"West Europe\",\"regional_replica_count\":1,\"storage_account_type\":\"Standard_LRS\"}]}}},\"terraform\":{\"required_providers\":{\"azurerm\":{\"source\":\"hashicorp/azurerm\",\"version\":\"3.8.0\"}}}}\e[0m\n\e[31m│\e[0m \e[0m\n\e[31m│\e[0m \e[0mA name must start with a letter or underscore and may contain only letters,\n\e[31m│\e[0m \e[0mdigits, underscores, and dashes.\n\e[31m╵\e[0m\e[0m\n\e[0m\e[0m\n: exit status 1"
azurerm_disk_pool_managed_disk_attachment
message: 'apply failed: A resource with the ID "/subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/r-group-attachment/providers/Microsoft.StoragePool/diskPools/namepooldisk"
already exists - to be managed via Terraform this resource needs to be imported
into the State. Please see the resource documentation for "azurerm_disk_pool"
for more information.
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale
. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh
will mark this issue as not stale.
This issue is being closed since there has been no activity for 14 days since marking it as stale
. If you still need help, feel free to comment or reopen the issue!
Moving 3 resources to v1beta1 version