Added exportConfig.py and importConfig.py

master
SLW\ARNAUA 2021-11-30 18:56:57 +01:00
parent af96c642ba
commit 586dc6f104
1469 changed files with 287373 additions and 28 deletions

22
.terraform.lock.hcl Normal file
View File

@ -0,0 +1,22 @@
# This file is maintained automatically by "terraform init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/dynatrace-oss/dynatrace" {
version = "1.8.4"
constraints = "1.8.4"
hashes = [
"h1:EtYuB9EXcaUpjCncDAyPZHNWiExbiQSHfDSOQZlQZSY=",
"zh:0db480e9ad4dfd17f32cfe96b21391bfc3b5974de3b26e842e1ed8fa2f2115bd",
"zh:2751516b60a6138eb5d44ec847fe59c541bb5f77fed4e981006b6885e98e9a59",
"zh:3b74cae45e4a8dd8556a3df91dba4f09c2f68fab40f6406946af6731be296011",
"zh:4835d0e10afd99797de8c5bbcb4ab9b6b6f0a78c40e6e7dbf1f09581407f9853",
"zh:4c2969dd10beed0b4058eb5d3acc75b1a273b02021933a23f2bd6feb683e0a23",
"zh:976685189cab6920cb41ad11dfaa27b0d5fd16c9521607c2cd797298953258eb",
"zh:b8d33cfdf61f0099981b73b1ce57841b623c6e05d4fd9af811d283b421f00e98",
"zh:bac7026ccd260402cb49f5ba41c4ea994943a6b1e508c343455a097e8411caf6",
"zh:c9b5e7c97e10649aa5a339156cd77c5050f8acb9f02e07ac58e93f002ed8034e",
"zh:e7edd1a280965bff4e88aea2b0d8d8ba83bee87db8506344b99cd983c9d205bc",
"zh:f44622c541fa6e35af868e6572c5bc58086eca71eed6b0c333ed156a17941111",
"zh:f9db1dd5ee33715383812183dffce764a14a714eb8bbeff4c4163b6bef07a626",
]
}

View File

@ -0,0 +1 @@
{"Modules":[{"Key":"","Source":"","Dir":"."},{"Key":"configDir","Source":"./configuration/20211130-184103_EUPROD_CONFIGURATION","Dir":"configuration/20211130-184103_EUPROD_CONFIGURATION"},{"Key":"configDir.management_zones","Source":"./management_zones","Dir":"configuration/20211130-184103_EUPROD_CONFIGURATION/management_zones"}]}

Binary file not shown.

View File

@ -0,0 +1,10 @@
terraform {
required_providers {
dynatrace = {
version = "1.8.4"
source = "dynatrace-oss/dynatrace"
}
}
}
module "management_zones" { source = "./management_zones" }

View File

@ -0,0 +1,11 @@
resource "dynatrace_management_zone" "CD_ABC" {
name = "CD_ABC"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:am-cns\",\"compass-id:am-proxy\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:am-cns\"))"
}
}

View File

@ -0,0 +1,231 @@
resource "dynatrace_management_zone" "CD_APIGW" {
name = "CD_APIGW"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "APIGW-WS"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "APIGW-WS"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "APIGW-APP"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "APIGW-APP"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service Gateway Legacy"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service Gateway Legacy"
}
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_APIM" {
name = "CD_APIM"
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_AKKA_ACTOR_SYSTEM"
}
string {
case_sensitive = true
negate = false
operator = "BEGINS_WITH"
value = "Empty"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_ASBC-FSC-AST" {
name = "CD_ASBC-FSC-AST"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-FSC-AST"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-FSC-AST"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-FSC-AST"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-FSC-AST"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-FSC-AST"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_ASBC-HAL-CL" {
name = "CD_ASBC-HAL-CL"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-HAL-CL"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-HAL-CL"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-HAL-CL"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-HAL-CL"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-HAL-CL"
}
}
}
}

View File

@ -0,0 +1,91 @@
resource "dynatrace_management_zone" "CD_ASBC-HAL" {
name = "CD_ASBC-HAL"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-HAL"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "clusterDomain"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-HAL"
}
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_ASBC-MFSCS" {
name = "CD_ASBC-MFSCS"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-MFSCS"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-MFSCS"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-MFSCS"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-MFSCS"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-MFSCS"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_ASBC-NGTP" {
name = "CD_ASBC-NGTP"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-NGTP"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-NGTP"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-NGTP"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-NGTP"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBC-NGTP"
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-PKI-DFP" {
name = "CD_ASBC-PKI-DFP"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:DFP\",\"compass-id:DFPH\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:DFP\",\"compass-id:DFPH\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:DFP\",\"compass-id:DFPH\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:DFP\",\"compass-id:DFPH\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-PKI-OCLIScert2vin" {
name = "CD_ASBC-PKI-OCLIScert2vin"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:OCLISc2v\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:OCLISc2v\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:OCLISc2v\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:OCLISc2v\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-PKI-OCLISocsp" {
name = "CD_ASBC-PKI-OCLISocsp"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:OCLISocsp\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:OCLISocsp\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:OCLISocsp\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:OCLISocsp\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-PKI-P2X" {
name = "CD_ASBC-PKI-P2X"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:P2X\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:P2X\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:P2X\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:P2X\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-PKI-VCSM" {
name = "CD_ASBC-PKI-VCSM"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:VCS\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:VCS\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:VCS\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:VCS\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-RSU" {
name = "CD_ASBC-RSU"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:ASBC-RSU\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:ASBC-RSU\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:ASBC-RSU\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:ASBC-RSU\")"
}
}

View File

@ -0,0 +1,91 @@
resource "dynatrace_management_zone" "CD_ASBC-SMACC" {
name = "CD_ASBC-SMACC"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-SMACC"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_NAME"
}
string {
case_sensitive = false
negate = true
operator = "CONTAINS"
value = "cluster"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBC-SMACC"
}
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-STM" {
name = "CD_ASBC-STM"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:STM\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:STM\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:STM\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:STM\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-TIS" {
name = "CD_ASBC-TIS"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:TIS\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:TIS\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:TIS\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:TIS\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBC-TVP" {
name = "CD_ASBC-TVP"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:TVP\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:TVP\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:TVP\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:TVP\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_ASBCSWLSEC2" {
name = "CD_ASBCSWLSEC2"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:ASBCSWLSEC2\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:ASBCSWLSEC2\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:ASBCSWLSEC2\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:ASBCSWLSEC2\")"
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_ASBS" {
name = "CD_ASBS"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBS"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBS"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ASBS"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBS"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ASBS"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_App-Repository" {
name = "CD_App-Repository"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "App Repository"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "App Repository"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "App Repository"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "App Repository"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "App Repository"
}
}
}
}

View File

@ -0,0 +1,194 @@
resource "dynatrace_management_zone" "CD_AudioVideoServices" {
name = "CD_AudioVideoServices"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "AudioVideoServices"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "AudioVideoServices"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "AudioVideoServices"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "AudioVideoServices"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "AudioVideoServices"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "cm-spotify"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "ise-connectedradio"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "cm-config"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "cm-gracenote"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "cm-ximalaya"
}
}
}
}
}

View File

@ -0,0 +1,35 @@
resource "dynatrace_management_zone" "CD_BMW-Assistant-for-Service-Events-_BASE_" {
name = "CD_BMW-Assistant-for-Service-Events-(BASE)"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "BASE"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "executed in"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_BMWPoints" {
name = "CD_BMWPoints"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "BMWPoints"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "BMWPoints"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "BMWPoints"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "BMWPoints"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "BMWPoints"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_BMW_POINTS_ENGINE" {
name = "CD_BMW_POINTS_ENGINE"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "BMW_POINTS_ENGINE"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "BMW_POINTS_ENGINE"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "BMW_POINTS_ENGINE"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "BMW_POINTS_ENGINE"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "BMW_POINTS_ENGINE"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Billing_Buffet" {
name = "CD_Billing_Buffet"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Buffet"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Buffet"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Buffet"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Buffet"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Buffet"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_CCG" {
name = "CD_CCG"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CCG"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CCG"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CCG"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CCG"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CCG"
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_CICD" {
name = "CD_CICD"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:CICD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:CICD\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:CICD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:CICD\")"
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_CSI" {
name = "CD_CSI"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CSI"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CSI"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CSI"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CSI"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CSI"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Call-Handling-Backends" {
name = "CD_Call-Handling-Backends"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Call-Handling-Backends"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Call-Handling-Backends"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Call-Handling-Backends"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Call-Handling-Backends"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Call-Handling-Backends"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_CallCenterClient" {
name = "CD_CallCenterClient"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Call Center Client"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Call Center Client"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Call Center Client"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Call Center Client"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Call Center Client"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Connected-Backend-Services" {
name = "CD_Connected-Backend-Services"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Connected-Backend-Services"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Connected-Backend-Services"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Connected-Backend-Services"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Connected-Backend-Services"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Connected-Backend-Services"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Connected-User-Behaviour" {
name = "CD_Connected-User-Behaviour"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Connected-User-Behaviour"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Connected-User-Behaviour"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Connected-User-Behaviour"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Connected-User-Behaviour"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Connected-User-Behaviour"
}
}
}
}

View File

@ -0,0 +1,110 @@
resource "dynatrace_management_zone" "CD_ConnectedDrive-Internet-Portal" {
name = "CD_ConnectedDrive-Internet-Portal"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ConnectedDrive-Internet-Portal"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ConnectedDrive-Internet-Portal"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ConnectedDrive-Internet-Portal"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ConnectedDrive-Internet-Portal"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ConnectedDrive-Internet-Portal"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_DATABASE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "cdipdb_prod"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_ContentProvider" {
name = "CD_ContentProvider"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ContentProvider"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ContentProvider"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "ContentProvider"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ContentProvider"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "ContentProvider"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Countly" {
name = "CD_Countly"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Countly"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Countly"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Countly"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Countly"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Countly"
}
}
}
}

View File

@ -0,0 +1,174 @@
resource "dynatrace_management_zone" "CD_CustomerCentricInformationServices" {
name = "CD_CustomerCentricInformationServices"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CustomerCentricInformationServices"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CustomerCentricInformationServices"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CustomerCentricInformationServices"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CustomerCentricInformationServices"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CustomerCentricInformationServices"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "geolocator"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "news-next"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "ccis-download"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "digital-keyring"
}
}
}
}
}

View File

@ -0,0 +1,185 @@
resource "dynatrace_management_zone" "CD_DPP_DPM" {
name = "CD_DPP_DPM"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "DPP"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "DPP"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "DPP"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "DPP"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "DPP"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "DPM"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "DPM"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "DPM"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "DPM"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "DPM"
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_GCDM" {
name = "CD_GCDM"
rules {
type = "HTTP_MONITOR"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HTTP_MONITOR_NAME"
}
string {
case_sensitive = true
negate = false
operator = "BEGINS_WITH"
value = "GCDM"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_ImageBlur" {
name = "CD_ImageBlur"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CD_ImageBlur"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CD_ImageBlur"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "CD_ImageBlur"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CD_ImageBlur"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "CD_ImageBlur"
}
}
}
}

View File

@ -0,0 +1,121 @@
resource "dynatrace_management_zone" "CD_Infotainment-In-Car-Experience-Services" {
name = "CD_Infotainment-In-Car-Experience-Services"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Infotainment"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "background"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Infotainment"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "TAG_KEY_EQUALS"
value {
context = "CONTEXTLESS"
key = "External"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = false
negate = true
operator = "CONTAINS"
value = "asbc"
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_InfotainmentInCarExperienceServices" {
name = "CD_InfotainmentInCarExperienceServices"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:ambient-music\",\"compass-id:festive-mode\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:ambient-music\",\"compass-id:festive-mode\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:ambient-music\",\"compass-id:festive-mode\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:ambient-music\",\"compass-id:festive-mode\")"
}
}

View File

@ -0,0 +1,79 @@
resource "dynatrace_management_zone" "CD_LSC-FSU" {
name = "CD_LSC-FSU"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSC-FSU"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSC-FSU"
}
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_LSC" {
name = "CD_LSC"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSC"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSC"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSC"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "LSC"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "LSC"
}
}
}
}

View File

@ -0,0 +1,114 @@
resource "dynatrace_management_zone" "CD_LSCFSU" {
name = "CD_LSCFSU"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:lscfsu\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:lscfsu\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP),tag(\"compass-id:lscfsu\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:lscfsu\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:lscfsu\")"
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSCFSU"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSCFSU"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "LSCFSU"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "LSCFSU"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "LSCFSU"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Location-Services" {
name = "CD_Location-Services"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Location-Services"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Location-Services"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Location-Services"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Location-Services"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Location-Services"
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_MSGSVC" {
name = "CD_MSGSVC"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:msgsvc\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:msgsvc\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:msgsvc\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:msgsvc\")"
}
}

View File

@ -0,0 +1,185 @@
resource "dynatrace_management_zone" "CD_Messaging-Services" {
name = "CD_Messaging-Services"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "XCC"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "XCC"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "XCC"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "XCC"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "XCC"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "MSGSVC"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "MSGSVC"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "MSGSVC"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "MSGSVC"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "MSGSVC"
}
}
}
}

View File

@ -0,0 +1,282 @@
resource "dynatrace_management_zone" "CD_Mobile2_and_BFFs" {
name = "CD_Mobile2_and_BFFs"
rules {
type = "MOBILE_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "MOBILE_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Store"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "managed-app-destination-composite-service"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "managed-app-vehicle-remote-commands-composite-service"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "managed-app-remote-360-composite-service"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "managed-app-vehicle-mapping-composite-service"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "managed-app-user-composite-service"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "EQUALS"
value = "managed-app-digital-key-composite-service"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TYPE"
}
service_type {
negate = false
operator = "EQUALS"
value = "WEB_REQUEST_SERVICE"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "composite"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "managed-app-connected-oauth-service-apim"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
process_metadata {
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
dynamic_key = "KUBERNETES_NAMESPACE"
}
string {
case_sensitive = true
negate = false
operator = "EQUALS"
value = "managed-app-remote-software-upgrade"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PROD"
}
}
}
}

View File

@ -0,0 +1,31 @@
resource "dynatrace_management_zone" "CD_Mobile_2" {
name = "CD_Mobile_2"
rules {
type = "MOBILE_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "MOBILE_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Mobile"
}
}
conditions {
key {
type = "STATIC"
attribute = "MOBILE_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Store"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Navigation-Information-Services" {
name = "CD_Navigation-Information-Services"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Navigation-Information-Services"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Navigation-Information-Services"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Navigation-Information-Services"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Navigation-Information-Services"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Navigation-Information-Services"
}
}
}
}

View File

@ -0,0 +1,22 @@
resource "dynatrace_management_zone" "CD_Openshift" {
name = "CD_Openshift"
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Platform"
value = "OpenShift"
}
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_PAIS" {
name = "CD_PAIS"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "pais"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "pais"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "pais"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "pais"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "pais"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_PISA" {
name = "CD_PISA"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "PISA"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "PISA"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "PISA"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PISA"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "PISA"
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_PSR" {
name = "CD_PSR"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:PSR\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:PSR\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:PSR\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:PSR\")"
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_Perseus" {
name = "CD_Perseus"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:perseus\",\"compass-id:pais\",\"compass-id:psr\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:perseus\",\"compass-id:pais\",\"compass-id:psr\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:perseus\",\"compass-id:pais\",\"compass-id:psr\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:perseus\",\"compass-id:pais\",\"compass-id:psr\")"
}
}

View File

@ -0,0 +1,95 @@
resource "dynatrace_management_zone" "CD_RemoteCamera" {
name = "CD_RemoteCamera"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Remote 360"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Remote 360"
}
}
}
}
rules {
type = "HOST"
enabled = true
propagation_types = ["HOST_TO_PROCESS_GROUP_INSTANCE"]
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Remote 360"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "KUBERNETES_CLUSTER_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Remote 360"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Remote 360"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_RemoteServiceCockpit" {
name = "CD_RemoteServiceCockpit"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "rs-cockpit"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "rs-cockpit"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "rs-cockpit"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "rs-cockpit"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "rs-cockpit"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_RemoteServices" {
name = "CD_RemoteServices"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "RemoteServices"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "RemoteServices"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "RemoteServices"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "RemoteServices"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "RemoteServices"
}
}
}
}

View File

@ -0,0 +1,275 @@
resource "dynatrace_management_zone" "CD_SMACC-BE" {
name = "CD_SMACC-BE"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMACC-BE"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "MetricsResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "PrometheusResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = false
negate = true
operator = "CONTAINS"
value = "internal service"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = false
negate = true
operator = "CONTAINS"
value = "ProtocolDataApi"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMACC-KTS"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "PrometheusResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "MetricsResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "EQUALS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "executed"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMACC-BE"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMACC-KTS"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "TAG_KEY_EQUALS"
value {
context = "CONTEXTLESS"
key = "External"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "BEGINS_WITH"
value = "svds"
}
}
}
rules {
type = "SERVICE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "TAG_KEY_EQUALS"
value {
context = "CONTEXTLESS"
key = "External"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "smacc"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_SMC2_CEKS" {
name = "CD_SMC2_CEKS"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "smc2-ceks"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "smc2-ceks"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "smc2-ceks"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "smc2-ceks"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "smc2-ceks"
}
}
}
}

View File

@ -0,0 +1,39 @@
resource "dynatrace_management_zone" "CD_SMS-Gateway" {
name = "CD_SMS-Gateway"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SMS-Gateway"
}
}
}
}
rules {
type = "HTTP_MONITOR"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HTTP_MONITOR_NAME"
}
string {
case_sensitive = true
negate = false
operator = "BEGINS_WITH"
value = "SMS GW"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_SVDS" {
name = "CD_SVDS"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SVDS"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SVDS"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SVDS"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "SVDS"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "SVDS"
}
}
}
}

View File

@ -0,0 +1,19 @@
resource "dynatrace_management_zone" "CD_SWLSEC2-BA2BT" {
name = "CD_SWLSEC2-BA2BT"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:SWLSEC2-BA2BT\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:SWLSEC2-BA2BT\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:SWLSEC2-BA2BT\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:SWLSEC2-BA2BT\")"
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_SWLSEC2-Checker" {
name = "CD_SWLSEC2-Checker"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SWLSEC2-Checker"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SWLSEC2-Checker"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "SWLSEC2-Checker"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "SWLSEC2-Checker"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "SWLSEC2-Checker"
}
}
}
}

View File

@ -0,0 +1,62 @@
resource "dynatrace_management_zone" "CD_Service-Bus" {
name = "CD_Service-Bus"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service-Bus"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service-Bus"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service-Bus"
}
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Service-Gateway" {
name = "CD_Service-Gateway"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service-Gateway"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service-Gateway"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Service-Gateway"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Service-Gateway"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Service-Gateway"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_Speech" {
name = "CD_Speech"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Speech"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Speech"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Speech"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Speech"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "Speech"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_TEST_EW" {
name = "CD_TEST_EW"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "TEST_EW"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "TEST_EW"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "TEST_EW"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "TEST_EW"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "TEST_EW"
}
}
}
}

View File

@ -0,0 +1,11 @@
resource "dynatrace_management_zone" "CD_TEST_EW2" {
name = "CD_TEST_EW2"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:hallo\",\"compass-id:gerne\",\"compass-id:test\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:hallo\",\"compass-id:gerne\",\"compass-id:test\"))"
}
}

View File

@ -0,0 +1,114 @@
resource "dynatrace_management_zone" "CD_TripCollection" {
name = "CD_TripCollection"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:tripCollectionApi\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:tripCollectionApi\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP),tag(\"compass-id:tripCollectionApi\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:tripCollectionApi\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:tripCollectionApi\")"
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "TripCollection"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "TripCollection"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "TripCollection"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "TripCollection"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "TripCollection"
}
}
}
}

View File

@ -0,0 +1,110 @@
resource "dynatrace_management_zone" "CD_UDS" {
name = "CD_UDS"
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:UDS\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:UDS\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP),tag(\"compass-id:UDS\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:UDS\")"
}
rules {
type = "SERVICE"
enabled = false
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "UDS"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = false
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "UDS"
}
}
}
}
rules {
type = "HOST"
enabled = false
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "UDS"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = false
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "UDS"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = false
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "UDS"
}
}
}
}

View File

@ -0,0 +1,174 @@
resource "dynatrace_management_zone" "CD_VehicleCentricInformationServices" {
name = "CD_VehicleCentricInformationServices"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "VehicleCentricInformationServices"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "VehicleCentricInformationServices"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "VehicleCentricInformationServices"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "VehicleCentricInformationServices"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "VehicleCentricInformationServices"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "tmpp-wechat-proxy"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "tmpp-admin-ui"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "tmpp-manifest"
}
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "ms-id"
value = "tmpp-web-proxy"
}
}
}
}
}

View File

@ -0,0 +1,98 @@
resource "dynatrace_management_zone" "CD_Voice-Services" {
name = "CD_Voice-Services"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Voice Services"
}
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "HealthResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PingResource"
}
}
conditions {
key {
type = "STATIC"
attribute = "SERVICE_NAME"
}
string {
case_sensitive = true
negate = true
operator = "CONTAINS"
value = "PrometheusResource"
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Voice Services"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "Voice Services"
}
}
}
}
}

View File

@ -0,0 +1,114 @@
resource "dynatrace_management_zone" "CD_XCC" {
name = "CD_XCC"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "XCC"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "XCC"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "XCC"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "XCC"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "XCC"
}
}
}
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "app-id"
value = "APP-18886"
}
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_agent-service" {
name = "CD_agent-service"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "agent-service"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "agent-service"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "agent-service"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "agent-service"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "agent-service"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_aluis" {
name = "CD_aluis"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "aluis"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "aluis"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "aluis"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "aluis"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "aluis"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-bpm" {
name = "CD_am-bpm"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-bpm"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-bpm"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-bpm"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-bpm"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-bpm"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-casa" {
name = "CD_am-casa"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-casa"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-casa"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-casa"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-casa"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-casa"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-cesim" {
name = "CD_am-cesim"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-cesim"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-cesim"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-cesim"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-cesim"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-cesim"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-cns" {
name = "CD_am-cns"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-cns"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-cns"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-cns"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-cns"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-cns"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-device" {
name = "CD_am-device"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-device"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-device"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-device"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-device"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-device"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-ecs" {
name = "CD_am-ecs"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-ecs"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-ecs"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-ecs"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-ecs"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-ecs"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-egim" {
name = "CD_am-egim"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-egim"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-egim"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-egim"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-egim"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-egim"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-esim-ui" {
name = "CD_am-esim-ui"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-esim-ui"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-esim-ui"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-esim-ui"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-esim-ui"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-esim-ui"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-lmcs" {
name = "CD_am-lmcs"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-lmcs"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-lmcs"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-lmcs"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-lmcs"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-lmcs"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-mno-manager" {
name = "CD_am-mno-manager"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-mno-manager"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-mno-manager"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-mno-manager"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-mno-manager"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-mno-manager"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-proxy" {
name = "CD_am-proxy"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-proxy"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-proxy"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-proxy"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-proxy"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-proxy"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-store" {
name = "CD_am-store"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-store"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-store"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-store"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-store"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-store"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-svms" {
name = "CD_am-svms"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_PROCESS_GROUP_LIKE","SERVICE_TO_HOST_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-svms"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-svms"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-svms"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-svms"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-svms"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-ui" {
name = "CD_am-ui"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-ui"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-ui"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-ui"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-ui"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-ui"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-usage" {
name = "CD_am-usage"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-usage"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-usage"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-usage"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-usage"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-usage"
}
}
}
}

View File

@ -0,0 +1,94 @@
resource "dynatrace_management_zone" "CD_am-vehicle-activation" {
name = "CD_am-vehicle-activation"
rules {
type = "SERVICE"
enabled = true
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
conditions {
key {
type = "STATIC"
attribute = "SERVICE_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-vehicle-activation"
}
}
}
}
rules {
type = "PROCESS_GROUP"
enabled = true
propagation_types = ["PROCESS_GROUP_TO_HOST"]
conditions {
key {
type = "STATIC"
attribute = "PROCESS_GROUP_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-vehicle-activation"
}
}
}
}
rules {
type = "HOST"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "HOST_TAGS"
}
tag {
negate = false
operator = "EQUALS"
value {
context = "CONTEXTLESS"
key = "Component"
value = "am-vehicle-activation"
}
}
}
}
rules {
type = "CLOUD_APPLICATION_NAMESPACE"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-vehicle-activation"
}
}
}
rules {
type = "CLOUD_APPLICATION"
enabled = true
conditions {
key {
type = "STATIC"
attribute = "CLOUD_APPLICATION_NAME"
}
string {
case_sensitive = true
negate = false
operator = "CONTAINS"
value = "am-vehicle-activation"
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More