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 "+1" or "me too" comments, 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.
Terraform Version
1.5.7
AzureRM Provider Version
3.100.0
Affected Resource(s)/Data Source(s)
azurerm_synapse_workspace
Terraform Configuration Files
minimal build of synapse workspace based on terraform registry docs.without identity block since that is marked as optional.
Debug Output/Panic Output
N/A
Expected Behaviour
synapse workspace created
Actual Behaviour
Error: creating Workspace: (Name "synw-cancom-ci-synapse-ytb9-we-test" / Resource Group "rg-cancom-ci-synapse-ytb9-we-test"): synapse.WorkspacesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ValidationFailed" Message="Workspace request validation failed, check error details for more information" Details=[{"code":"SystemAssignedManagedIdentityNotSpecified","message":"Workspace creation request should have an identity section with Type = SystemAssigned"}]
│
│ with module.defaults.azurerm_synapse_workspace.this[0],
│ on ../../main.tf line 54, in resource "azurerm_synapse_workspace" "this":
│ 54: resource "azurerm_synapse_workspace" "this" {
Steps to Reproduce
create resource group, create storage account, in that create data_lake_gen2_filesystem, take all required variables based on the terraform registry and try to spin up synapse workspace.
Important Factoids
no
References
No response
The text was updated successfully, but these errors were encountered:
@farwind you are right. It failed when using only the required values in the documentation. I added
identity {
type ="SystemAssigned"
}
and it worked. Do not know if it is documentation issue and it needs to say identity block is required or if there is a bug and if the block is not set, it needs to default to SystemAssigned. Most likely it needs to default to SystemAssigned
Is there an existing issue for this?
Community Note
Terraform Version
1.5.7
AzureRM Provider Version
3.100.0
Affected Resource(s)/Data Source(s)
azurerm_synapse_workspace
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
synapse workspace created
Actual Behaviour
Error: creating Workspace: (Name "synw-cancom-ci-synapse-ytb9-we-test" / Resource Group "rg-cancom-ci-synapse-ytb9-we-test"): synapse.WorkspacesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ValidationFailed" Message="Workspace request validation failed, check error details for more information" Details=[{"code":"SystemAssignedManagedIdentityNotSpecified","message":"Workspace creation request should have an identity section with Type = SystemAssigned"}]
│
│ with module.defaults.azurerm_synapse_workspace.this[0],
│ on ../../main.tf line 54, in resource "azurerm_synapse_workspace" "this":
│ 54: resource "azurerm_synapse_workspace" "this" {
Steps to Reproduce
create resource group, create storage account, in that create data_lake_gen2_filesystem, take all required variables based on the terraform registry and try to spin up synapse workspace.
Important Factoids
no
References
No response
The text was updated successfully, but these errors were encountered: