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_terraform_cloud_secret_role" {
source="./modules/vault/r/vault_terraform_cloud_secret_role"# backend - (optional) is a type of stringbackend=null# max_ttl - (optional) is a type of numbermax_ttl=null# name - (required) is a type of stringname=null# organization - (optional) is a type of stringorganization=null# team_id - (optional) is a type of stringteam_id=null# ttl - (optional) is a type of numberttl=null# user_id - (optional) is a type of stringuser_id=null
}
variable"backend" {
description="(optional) - The path of the Terraform Cloud Secret Backend the role belongs to."type=stringdefault=null
}
variable"max_ttl" {
description="(optional) - Maximum allowed lease for generated credentials. If not set or set to 0, will use system default."type=numberdefault=null
}
variable"name" {
description="(required) - The name of an existing role against which to create this Terraform Cloud credential"type=string
}
variable"organization" {
description="(optional) - Name of the Terraform Cloud or Enterprise organization"type=stringdefault=null
}
variable"team_id" {
description="(optional) - ID of the Terraform Cloud or Enterprise team under organization (e.g., settings/teams/team-xxxxxxxxxxxxx)"type=stringdefault=null
}
variable"ttl" {
description="(optional) - Default lease for generated credentials. If not set or set to 0, will use system default."type=numberdefault=null
}
variable"user_id" {
description="(optional) - ID of the Terraform Cloud or Enterprise user (e.g., user-xxxxxxxxxxxxxxxx)"type=stringdefault=null
}
resource"vault_terraform_cloud_secret_role""this" {
# backend - (optional) is a type of stringbackend=var.backend# max_ttl - (optional) is a type of numbermax_ttl=var.max_ttl# name - (required) is a type of stringname=var.name# organization - (optional) is a type of stringorganization=var.organization# team_id - (optional) is a type of stringteam_id=var.team_id# ttl - (optional) is a type of numberttl=var.ttl# user_id - (optional) is a type of stringuser_id=var.user_id
}