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 "common_tags" {
  type        = map(any)
  description = "Map of tags to apply."
  default     = {}
}

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

variable "allow_execution_inside_vpc" {
  type        = bool
  description = "If true, assigns AWSLambdaVPCAccessExecutionRole to created role."
  default     = false
}

variable "additional_principals" {
  type        = list(string)
  description = "List of additional IAM principals who are allowed to assume role (services not allowed)."
  default     = []
}
