Global InfraGlobal Infra Cloud
Cassandra

Application Role

Terraform reference for Application 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_last_rotated_at
Computed
stringWhen the password of this role was last set through this service. Absent for a role that cannot connect, since it has no password.
password_location
Computed
stringThe Vault UI URL where the password of this role is stored. Only returned when login is true.
resource "gi_cassandra_application_role" "example" {  attributes = {    cluster_id = "emea/sandbox/welcome/welcome_cluster01"    name       = "keyspace_reader"  }}

Usage Notes