highbond_toolkit (Data Source)

Example Usage

data "highbond_toolkit" "toolkit" {
  toolkit_id = "global-solution"
}

output "toolkit" {
  value = jsondecode(data.highbond_toolkit.toolkit.outputs)
}

data "highbond_toolkit" "explicit_tfstate_toolkit" {
  toolkit_id       = "global-solution"
  explicit_tfstate = "../test/data/explicit_tf.tfstate"
}

output "toolkit" {
  value = jsondecode(data.highbond_toolkit.explicit_tfstate_toolkit.outputs)
}

data "highbond_toolkit" "toolkitExpOutput" {
  toolkit_id = "global-solution"
  explicit_outputs = jsonencode(
    {
      attribute_id : "7809",
      position : true,
      dataid : 1,
      is_global : true,
      type_options : {
        default : true,
        is_rich_text : "true",
        value : 12,
        floatvalue : 1.2,
      },
      attribute_type_complex : {
        id : 7809
        name : "NameForTesting1"
        options : {
          default : "For Testing"
          option2 : {
            default2 : "aa"
          }
        }
      }
    }
  )
}

output "toolkitname" {
  value = jsondecode(data.highbond_toolkit.toolkitExpOutput.outputs)
}

Schema

Required

  • toolkit_id (String) The ID of the toolkit

Optional

  • explicit_outputs (String) Output of the toolkit that can be referred by other resources
  • explicit_tfstate (String) The tfstate of installed toolkits

Read-Only

  • id (String) The ID of this resource.
  • installed_version (String) Version of currently installed toolkit
  • is_available (Boolean) This flag can be used to check if data source is available or not
  • outputs (String) Request the API to return toolkit details without outputs