variable "name_prefix" {
  type        = string
  description = "Prefix which will be applied to the names of resources."
}

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

variable "description" {
  type        = string
  description = "Description of the role"
  default     = "Managed by Terraform."
}

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

variable "external_accounts" {
  type = list(object(
    { account_id = string, iam_entity = string, external_id = optional(string, "") }
  ))
  description = "Map of accounts with external id."
  default     = []
}

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