"Migrating from Monaco to Terraform for management zone: CD_SMS-Gateway"

CD_SMS-Gateway
Patryk Gudalewicz 2023-03-01 19:12:59 +01:00
parent b0a9efb619
commit 211550f6cc
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# DEFINE dynatrace_management_zone.CD_SMS-Gateway.id = 1412312951147139652
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 = "PROCESS_GROUP"
enabled = true
propagation_types = [ "PROCESS_GROUP_TO_HOST", "PROCESS_GROUP_TO_SERVICE" ]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
# negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMS-Gateway"
}
}
}
}
}