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.52k stars 4.6k forks source link

To add "Workspace packages" and assign them to a specific Spark pool #13383

Open DesaCh01 opened 2 years ago

DesaCh01 commented 2 years ago

Community Note

Description

In Synapse Analytics portal there is an option for "Workspace Packages" but this isn't available in terraform. Can it be added?

New or Affected Resource(s)

azurerm_synapse_workspace azurerm_synapse_spark_pool

Potential Terraform Configuration

resource "azurerm_synapse_workspace" "example" {
  name                                 = "example"
  resource_group_name                  = azurerm_resource_group.example.name
  location                             = azurerm_resource_group.example.location
  storage_data_lake_gen2_filesystem_id = azurerm_storage_data_lake_gen2_filesystem.example.id
  sql_administrator_login              = "sqladminuser"
  sql_administrator_login_password     = "H@Sh1CoR3!"
  workspace_package {
       location = file("${path.module}/lib.whl")
  }
}

References

favoretti commented 2 years ago

Hi there, and thank you for reporting this. From a quick look - SDK doesn't yet support this unfortunately.

carlosjsanch3z commented 11 months ago

Hi there, is it still not available from the SDK?

I strongly support this feature šŸ‘