coralogix / terraform-provider-coralogix

Terraform provider for Coralogix
https://registry.terraform.io/providers/coralogix/coralogix
Apache License 2.0
11 stars 8 forks source link

Add more than one section in dashboard #246

Closed tifennlegoff closed 2 months ago

tifennlegoff commented 2 months ago

Description

With the new feature for collapsing and naming sections, it could be nice to be able to add multiple sections. Currently, we get this error

Attribute layout.sections list must contain at least 1 elements and at most 1
elements, got: 6

New or Affected Resource(s)

Potential Terraform Configuration

resource "coralogix_dashboard" "coreplatform_enrichment_pipeline" {
...
  layout = {
    sections = [
      {
        options = {
            name = "Section 1"
            collapsed = false
        }
        rows = {
...
        }
      }, {
        options = {
            name = "Section 2"
            collapsed = true
        }
        rows = {
...
        }
      }, {
        options = {
            name = "Section 1"
            collapsed = false
        }
        rows = {
...
        }
      }
    ]
  }

In the doc, it says that's only one section is supported, is it possible to make modifications to be able to have more sections?

Thanks!

References

Community Note