Compare commits

...

1 Commits

Author SHA1 Message Date
Patryk Gudalewicz 31ad7e0503 "Migrating from Monaco to Terraform for management zone: CD_smart-parking" 2023-03-01 18:53:07 +01:00
1 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,79 @@
# DEFINE dynatrace_management_zone.CD_smart-parking.id = -4552635592830543182
resource "dynatrace_management_zone" "CD_smart-parking" {
name = "CD_smart-parking"
description = "created by Michael"
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
# negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "cn-smartparking-composite-service"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
# negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "omcspepayce20q3__8f76"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
# negate = false
operator = "TAG_KEY_EQUALS"
value {
context = "CONTEXTLESS"
key = "omcspepayce20q3__8f76"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
# negate = false
operator = "TAG_KEY_EQUALS"
value {
context = "CONTEXTLESS"
key = "omcspepayce20q3__8f76"
}
}
}
}
}