highbond_role (Resource)
Schema
Required
display_name | String | User viewable name for the role. Can be the same as the name |
name | String | Admin viewable name for the role. Must be unique within the Organization |
role_type | String | Type of Role, defined on creation, cannot be updated. Enum: platform, user |
Optional
description | String | Role Description |
force_updates | Boolean | Allows overriding top-level 'create_only' option. |
id | String | The ID of this resource. |
Read-Only
created_at | String | The timestamp identifying when the role was created |
created_by | String | UID of the creating user |
org_id | String | The ID of the organization this role is for |
updated_at | String | The timestamp identifying when the role was last updated |
updated_by | String | UID of the most recent updating user |
Example Usage
// Roles with role_type platform
resource "highbond_role" "userorganization" {
role_type = "platform"
name = "PlatformRole1"
display_name = "Role name for platform"
description = "Used to access org"
force_updates = true // Create only with force update changes
}
// Roles with role_type user
resource "highbond_role" "main" {
name = "highbond_role main"
display_name = "User Admin"
description = "Administrators for the platform."
role_type = "user"
}