You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"vault_database_secret_backend_static_role" {
source="./modules/vault/r/vault_database_secret_backend_static_role"# backend - (required) is a type of stringbackend=null# db_name - (required) is a type of stringdb_name=null# name - (required) is a type of stringname=null# rotation_period - (required) is a type of numberrotation_period=null# rotation_statements - (optional) is a type of list of stringrotation_statements=[]
# username - (required) is a type of stringusername=null
}
variable"backend" {
description="(required) - The path of the Database Secret Backend the role belongs to."type=string
}
variable"db_name" {
description="(required) - Database connection to use for this role."type=string
}
variable"name" {
description="(required) - Unique name for the static role."type=string
}
variable"rotation_period" {
description="(required) - The amount of time Vault should wait before rotating the password, in seconds."type=number
}
variable"rotation_statements" {
description="(optional) - Database statements to execute to rotate the password for the configured database user."type=list(string)
default=null
}
variable"username" {
description="(required) - The database username that this role corresponds to."type=string
}
resource"vault_database_secret_backend_static_role""this" {
# backend - (required) is a type of stringbackend=var.backend# db_name - (required) is a type of stringdb_name=var.db_name# name - (required) is a type of stringname=var.name# rotation_period - (required) is a type of numberrotation_period=var.rotation_period# rotation_statements - (optional) is a type of list of stringrotation_statements=var.rotation_statements# username - (required) is a type of stringusername=var.username
}