Search code examples
terraformdatabricksterraform-provider-databricks

Attach multiple libraries to a cluster terraforming Databricks


I'm currently trying to attach more than one maven artifact to my terraform configuration of a cluster.
In the documentation, nothing says it can't work. It is only specified that one type of library must correspond to one configuration block.

How can we add more than one artifact in my terraform configuration ?


Solution

  • If finally did it by duplicating my configuration blocks.

    library {
      maven {
        coordinates = "..."
      }
    }
    library {
      maven {
        coordinates = "..."
      }
    }