You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"datadog_synthetics_global_variable" {
source="./modules/datadog/r/datadog_synthetics_global_variable"# description - (optional) is a type of stringdescription=null# name - (required) is a type of stringname=null# parse_test_id - (optional) is a type of stringparse_test_id=null# secure - (optional) is a type of boolsecure=null# tags - (optional) is a type of list of stringtags=[]
# value - (required) is a type of stringvalue=nullparse_test_options=[{
field =null
parser = [{
type =null
value =null
}]
type =null
}]
}
variable"description" {
description="(optional) - Description of the global variable."type=stringdefault=null
}
variable"name" {
description="(required) - Synthetics global variable name."type=string
}
variable"parse_test_id" {
description="(optional) - Id of the Synthetics test to use for a variable from test."type=stringdefault=null
}
variable"secure" {
description="(optional) - Sets the variable as secure. Defaults to `false`."type=booldefault=null
}
variable"tags" {
description="(optional) - A list of tags to associate with your synthetics global variable."type=list(string)
default=null
}
variable"value" {
description="(required) - The value of the global variable."type=string
}
variable"parse_test_options" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
field =string
parser =list(object(
{
type =string
value =string
}
))
type =string
}
))
default=[]
}
resource"datadog_synthetics_global_variable""this" {
# description - (optional) is a type of stringdescription=var.description# name - (required) is a type of stringname=var.name# parse_test_id - (optional) is a type of stringparse_test_id=var.parse_test_id# secure - (optional) is a type of boolsecure=var.secure# tags - (optional) is a type of list of stringtags=var.tags# value - (required) is a type of stringvalue=var.valuedynamic"parse_test_options" {
for_each=var.parse_test_optionscontent {
# field - (optional) is a type of stringfield=parse_test_options.value["field"]
# type - (required) is a type of stringtype=parse_test_options.value["type"]
dynamic"parser" {
for_each=parse_test_options.value.parsercontent {
# type - (required) is a type of stringtype=parser.value["type"]
# value - (optional) is a type of stringvalue=parser.value["value"]
}
}
}
}
}