Merge pull request #379 in OPAPM/coco_apm_terraform_onboarding from CD_smart-parking to master
* commit '31ad7e05038e1aefcc16026d9a3aeaaf50f12388': "Migrating from Monaco to Terraform for management zone: CD_smart-parking"CD_TS-CMS
commit
caa1e74bfe
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue