OPMAAS-4486 added json examples for several roles in CN
parent
8237b21231
commit
b8f36af95d
|
|
@ -4,8 +4,6 @@ resource "dynatrace_user_group" "DT_APP_CoCo_CallServices_CN_View" {
|
|||
|
||||
permissions {
|
||||
grant {
|
||||
environments = ["b921f1b9-c00e-4031-b9d1-f5a0d530757b", "ab88c03b-b7fc-45f0-9115-9e9ecc0ced35"]
|
||||
permission = "VIEWER"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
resource "dynatrace_iam_group" "DT_APP_CoCo_CallServices_EMEANA_View" {
|
||||
resource "dynatrace_iam_group" "DT_APP_CoCo_CallServices_EMEA-NA_View" {
|
||||
name = "DT_APP_CoCo_CallServices_EMEANA_View"
|
||||
description = "Connected Call Services - EMEA NA View (preprod und prod)"
|
||||
federated_attribute_values = [ "Connected Call Services - EMEA NA View" ]
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
resource "dynatrace_iam_group" "DT_ENV_CoCo_EMEA-NA_View" {
|
||||
name = "DT_ENV_CoCo_EMEA-NA_View"
|
||||
description = "Cross-Product View - EMEA NA (preprod und prod)"
|
||||
federated_attribute_values = [ "Cross-Product View - EMEA NA" ]
|
||||
|
||||
permissions {
|
||||
permission {
|
||||
name = "tenant-viewer"
|
||||
type = "tenant"
|
||||
scope = "qqk70169"
|
||||
}
|
||||
permission {
|
||||
name = "tenant-viewer"
|
||||
type = "tenant"
|
||||
scope = "xxu26128"
|
||||
}
|
||||
permission {
|
||||
name = "tenant-viewer"
|
||||
type = "tenant"
|
||||
scope = "onb44935"
|
||||
}
|
||||
permission {
|
||||
name = "tenant-viewer"
|
||||
type = "tenant"
|
||||
scope = "wgv50241"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10,7 +10,5 @@ required_providers {
|
|||
resource dynatrace_user_group main {
|
||||
permission {
|
||||
name = "${var.groupName}"
|
||||
type = "management-zone"
|
||||
scope = "${var.environment-id}" + ":" + "${var. managementzone-id}"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue