You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
When trying to create 'azurerm_machine_learning_datastore_fileshare' the resource creation failed with the following message:
│ Error: ID was missing the `fileshares` element
│
│ with module.defaults.azurerm_machine_learning_datastore_fileshare.this["mlfslibrarymltest001"],
│ on ..\..\main.tf line 347, in resource "azurerm_machine_learning_datastore_fileshare""this":
│ 347: resource "azurerm_machine_learning_datastore_fileshare""this" {
│
│ ID was missing the `fileshares` element
Expected Behaviour
Normally, the azurerm_storage_share.example.id should insert a usable fileshare ID.
Actual Behaviour
During the terraform apply I get the following error:
│ Error: ID was missing the `fileshares` element
│
│ with module.defaults.azurerm_machine_learning_datastore_fileshare.this["mlfslibrarymlswntest002"],
│ on ..\..\main.tf line 347, in resource "azurerm_machine_learning_datastore_fileshare" "this":
│ 347: resource "azurerm_machine_learning_datastore_fileshare" "this" {
│
│ ID was missing the `fileshares` element
Steps to Reproduce
Execute terraform apply
Possible Solution:
I compared the ID with is created by the Azure Portal with the one created by Terraform and here is the difference:
Is there an existing issue for this?
Community Note
When trying to create '
azurerm_machine_learning_datastore_fileshare
' the resource creation failed with the following message:Terraform Version
1.10.2
AzureRM Provider Version
4.14.0
Affected Resource(s)/Data Source(s)
azurerm_machine_learning_datastore_fileshare
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Normally, the
azurerm_storage_share.example.id
should insert a usable fileshare ID.Actual Behaviour
During the
terraform apply
I get the following error:Steps to Reproduce
Execute
terraform apply
Possible Solution:
I compared the ID with is created by the Azure Portal with the one created by Terraform and here is the difference:
Please see fileshares vs. shares.
As a workaround I use the Terraform
replace()
function and replace/shares/
section with/fileshares/
. And then it was working. 😉Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: