26 lines
535 B
HCL
26 lines
535 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}"
|
|
}
|
|
|