github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/pkg/steampipeconfig/testdata/mods/dashboard_nested_containers/report.sp (about)

     1  // this dashboard is used to test the parsing of a dashboard containing
     2  // nested containers
     3  
     4  dashboard "nested_containers_report" {
     5    container {
     6      text {
     7        value = "CONTAINER 1"
     8      }
     9      container {
    10        text {
    11          value = "CHILD CONTAINER 1.1"
    12        }
    13        chart {
    14          title = "CHART 1"
    15          sql = "select 1.1 as container"
    16        }
    17      }
    18      container {
    19        text {
    20          value = "CHILD CONTAINER 1.2"
    21        }
    22        chart {
    23          title = "CHART 2"
    24          sql = "select 1.2 as container"
    25        }
    26        container {
    27          text {
    28            value = "NESTED CHILD CONTAINER 1.2.1"
    29          }
    30          chart {
    31            title = "CHART 3"
    32            sql = "select 1.2.1 as container"
    33          }
    34        }
    35      }
    36    }
    37  }