variable "name" {
  type        = string
  description = "Name of the role"
}

variable "common_tags" {
  type        = map(any)
  description = "Map of tags to apply."
  default     = {}
}

variable "principal_list" {
  type        = list(string)
  description = "List of arn's of accounts, users or roles who can assume this role."
  default     = []
}

variable "policies_list" {
  type        = list(string)
  description = "List of arn's of policies which you want to attach to this role."
  default     = []
}

variable "require_mfa" {
  type        = bool
  description = "Boolean to determine whether the role should require users assuming it to have MFA enabled"
  default     = false
}

variable "max_session_duration" {
  type        = number
  description = "(Optional) The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours."
  default     = 3600
}
