observe_rbac_group_member¶
Manages a RBAC Group member.
Example Usage¶
data "observe_user" "example" {
email = "[email protected]"
}
data "observe_rbac_group" "reader" {
name = "reader"
}
data "observe_rbac_group" "example" {
name = "engineering"
}
resource "observe_rbac_group_member" "user_example" {
group = data.observe_rbac_group.reader.oid
description = "add example user to reader group"
member {
user = data.observe_user.example.oid
}
}
resource "observe_rbac_group_member" "group_example" {
group = data.observe_rbac_group.reader.oid
description = "add example group to reader group"
member {
group = data.observe_rbac_group.example.oid
}
}
Schema¶
Required¶
group
(String)member
(Block List, Min: 1, Max: 1) (see below for nested schema)
Optional¶
description
(String)
Read-Only¶
id
(String) The ID of this resource.oid
(String)
Nested Schema for member
¶
Optional:
group
(String)user
(String)
Import¶
Import is supported using the following syntax:
terraform import observe_rbac_group_member.example 1414010