terraform.aws-baseline-infra/modules/storage/infra-s3-bucket/variables.tf

39 lines
729 B
HCL

variable "customer-name" {}
variable "environment" {}
variable "project" {}
variable "application" {}
variable "aws-region-short" {}
variable "default-tags" {}
variable "bucket-retain-days" {
type = number
default = 90
}
variable "bucket-name" {}
variable "bucket-policy-json" {}
variable "enable-bucket-versioning" {
type = bool
default = false
}
variable "add-random-suffix" {
type = bool
default = false
}
locals {
resource-prefix = "${var.environment}-${var.aws-region-short}-${var.customer-name}-${var.project}"
}
variable bucket-acl {
type = string
default = "private"
}
variable bucket-enable-lifecycle {
type = bool
default = true
}
variable transition-ia-days {
type = number
default = 30
}