"Migrating from Monaco to Terraform for management zone: CD_ASBC_TESTING"

CD_ASBC_TESTING
Patryk Gudalewicz 2023-03-01 18:56:16 +01:00
parent 5ad7b30cd3
commit ba8ce31368
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
}
}