Merge pull request #61 in OPAPM/coco_apm_terraform_onboarding from CD_ASBC_TESTING to master

* commit 'ba8ce313680e37f68502ee6aa82388bc94bab5f2':
  "Migrating from Monaco to Terraform for management zone: CD_ASBC_TESTING"
CD_TS-CMS
PATRYK GUDALEWICZ (ext.) 2023-03-01 19:13:15 +00:00
commit 32b598aff9
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
}
}