variable "account_id" {
  description = "Account ID for sme-labelcopy-schedule-prod"
  type        = string
  default     = "918817604416"
}

variable "environment" {
  description = "Environment"
  type        = string
  default     = "Prod"
}

##################################
#         S3 Variables           #
##################################
variable "assume_role" {
  description = "The role used for infra changes"
  type        = string
  default     = "arn:aws:iam::918817604416:role/AnsibleAWSServiceAccess-LCS-P"
}

variable "block_public_acls" {
  description = "To block S3 public acls"
  type        = bool
  default     = true
}

variable "ignore_public_acls" {
  description = "To ignore any public acls"
  type        = bool
  default     = true
}

variable "restrict_public_buckets" {
  description = "To Restrict public buckets"
  type        = bool
  default     = true
}

variable "block_public_policy" {
  description = "To block public bucket policy"
  type        = bool
  default     = true
}

variable "force_destroy" {
  description = "To delete the bucket by force"
  type        = bool
  default     = true
}

variable "attach_policy" {
  description = "To add additional bucket policy"
  type        = bool
  default     = true
}

variable "attach_deny_insecure_transport_policy" {
  description = "To add TLS insecure policy"
  type        = bool
  default     = true
}

variable "attach_require_latest_tls_policy" {
  description = "To add latest TLS insecure policy"
  type        = bool
  default     = false
}

variable "s3_acl" {
  description = "S3 acl type"
  type        = string
  default     = "private"
}

variable "server_side_encryption_configuration" {
  description = "SSE config"
  default = {
    rule = {
      bucket_key_enabled = false
      apply_server_side_encryption_by_default = {
        kms_master_key_id = ""
        sse_algorithm     = "AES256"
      }
    }
  }
}


##################################
#    DataDog Lambda Variables    #
##################################
variable "update_lambda_code" {
  description = "Set to true to update Lambda code, then set back to false"
  type        = bool
  default     = false
}

variable "monitored_subnet_ids" {
  description = "List of subnet IDs to monitor for total count of available IP addresses"
  type        = list(string)
  default     = ["subnet-001bd26c77e784ba4", "subnet-076d0fd20e5e8171d"]
}

variable "subnet_group_name" {
  description = "Subnet group name for monitored subnets"
  type        = string
  default     = "lcsp-rds-sng"
}

variable "project_name" {
  description = "Project name"
  type        = string
  default     = "GRPS"
}