"Migrating from Monaco to Terraform for management zone: CD_SMS-Gateway"
parent
e129c3bbc6
commit
78fb260279
|
|
@ -0,0 +1,40 @@
|
|||
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = -2133422980246552080
|
||||
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
|
||||
name = "CD_SMS-Gateway"
|
||||
rules {
|
||||
type = "HTTP_MONITOR"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "HTTP_MONITOR_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "BEGINS_WITH"
|
||||
value = "SMS GW"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "SERVICE"
|
||||
enabled = true
|
||||
propagation_types = [ "SERVICE_TO_HOST_LIKE", "SERVICE_TO_PROCESS_GROUP_LIKE" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "SERVICE_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "SMS-Gateway"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue