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.61k stars 4.65k forks source link

Synapse Spark Pool "Spark Configuration" Option #11807

Open olivergaudreault opened 3 years ago

olivergaudreault commented 3 years ago

Community Note

Description

In the Synapse Spark Pool portal there is an option for "Spark Configuration" but this isn't available in terraform. Can it be added? It is available through ARM sparkConfigProperties

New or Affected Resource(s)

Potential Terraform Configuration

N/A

References

N/A

chrsundermann commented 2 years ago

There is an option to configure the spark pool configuration => https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/synapse_spark_pool

spark_config {
    content  = <<EOF
spark.shuffle.spill                true
EOF
    filename = "config.txt"
  }

But that's the old way. Microsoft changed spark configuration by moving it into synapse analytics. If you create it with terraform you will get the following: image

The new way must be implemented to be present at synapse analytics -> spark pool: image

fgarcia-cnb commented 1 year ago

i have the same issue. once the params are set using the new way, the resource becomes unmanagable in terraform #20169