Global InfraGlobal Infra Cloud
Cassandra

Role

Terraform reference for Role.

Schema Properties

PropertyTypeDescription
cluster_id
Required
stringThe identifier of the cluster this role belongs to. Cannot be changed after creation.
Examples:emea/sandbox/welcome/welcome_cluster01
effective_grants
Computed
list(object)Every permission this role currently holds, including permissions inherited from other roles. Read-only.
login
Default
booleanWhether an application can connect to the cluster with this role. When true, a password is generated and stored in Vault, and password_location tells you where to read it. When false (the default), the role is only a container for permissions that other roles inherit through a role membership.
name
RequiredForceNew
stringThe name of the role, unique within the cluster. Must start with a lowercase letter and may contain only lowercase letters, digits and underscores, up to 48 characters. Cannot be changed after creation.
Examples:keyspace_readerapp_user
password_location
Computed
stringThe Vault UI URL where the password of this role is stored. Only returned when login is true.
Data Source
data "gi_cassandra_roles" "filtered" {  limit = 10  skip  = 0  filter {    field    = "cluster_id"    operator = "eq"    value    = "example-value"  }  sort {    field      = "cluster_id"    descending = false  }}# Access resultsoutput "role_list" {  value = data.gi_cassandra_roles.filtered.roles[*].attributes.cluster_id}

Usage Notes