Compare commits

...

1 Commits

Author SHA1 Message Date
Patryk Gudalewicz ba8ce31368 "Migrating from Monaco to Terraform for management zone: CD_ASBC_TESTING" 2023-03-01 18:56:16 +01:00
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# DEFINE dynatrace_management_zone.CD_ASBC_TESTING.id = 4471164365512608908
resource "dynatrace_management_zone" "CD_ASBC_TESTING" {
name = "CD_ASBC_TESTING"
entity_selector_based_rule {
enabled = true
selector =<<-EOT
type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag("ms-id:DFP","ms-id:KOP"))
EOT
}
entity_selector_based_rule {
enabled = true
selector =<<-EOT
type(PROCESS_GROUP_INSTANCE),tag("ms-id:DFP","ms-id:KOP")
EOT
}
entity_selector_based_rule {
enabled = true
selector =<<-EOT
type(HOST),tag("ms-id:DFP","ms-id:KOP")
EOT
}
entity_selector_based_rule {
enabled = true
selector =<<-EOT
type(Service),tag("ms-id:DFP","ms-id:KOP")
EOT
}
}