github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/tests/acceptance/test_data/dashboard_inputs_with_base/dashboard.sp (about)

     1  
     2  input "base_input" {
     3    title = "Select resource compliance state"
     4    width = 4
     5    type  = "select"
     6  
     7    option "compliant" {
     8      label = "Compliant"
     9    }
    10  
    11    option "non-compliant" {
    12      label = "Non-Compliant"
    13    }
    14  }
    15  
    16  
    17  dashboard "resource_details" {
    18    title = "Resource Details"
    19  
    20    input "resource_compliance_state" {
    21      base = input.base_input
    22    }
    23  
    24    table {
    25      width = 12
    26      sql   = "select 1"
    27    }
    28  }