variable "name_prefix" {
  type        = string
  description = "Name prefix for the bucket."
}

variable "env_prefix" {
  type        = string
  description = "Environment prefix name."
}

variable "allowed_accounts" {
  type        = list(string)
  description = "List of usernames of users which are allowed to decrypt and encrypt objects in terraform bucket."
}

variable "allowed_roles" {
  type        = list(string)
  description = "List of IAM roles which are allowed to decrypt and encrypt objects in terraform bucket."
}

variable "common_tags" {
  type        = map(string)
  description = "Common tags to add for the objects."
  default     = null
}

variable "expiration_days_number" {
  type        = number
  description = "Specifies a number of days in the object's expire."
  default     = 90
}

variable "aws_elb_account_id" {
  type        = string
  description = "The account IDs to use in your bucket policy."
}

variable "tf_s3_noncurrent_version_expiration" {
  type        = number
  description = "Number of days to expire noncurrent versions of the object in terraform state bucket."
  default     = 90
}

variable "region" {
  type        = string
  description = "AWS region"
  default     = "us-east-1"
}
