"Migrating from Monaco to Terraform for management zone: CD_RemoteCamera"
parent
5ad7b30cd3
commit
b003ce3440
|
|
@ -0,0 +1,93 @@
|
||||||
|
# DEFINE dynatrace_management_zone.CD_RemoteCamera.id = -7728091090933913347
|
||||||
|
resource "dynatrace_management_zone" "CD_RemoteCamera" {
|
||||||
|
name = "CD_RemoteCamera"
|
||||||
|
rules {
|
||||||
|
type = "CLOUD_APPLICATION"
|
||||||
|
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_NAMESPACE"
|
||||||
|
enabled = true
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "KUBERNETES_CLUSTER_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
# negate = false
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "Remote 360"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
# negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "Remote 360"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "PROCESS_GROUP_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
# negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "Remote 360"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
# negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "Remote 360"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue