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)
}