variables.tf1.3 KB
View on GitHubvariable "region" {
type = string
description = "AWS region. Consumed by the AWS provider; supplied by the region mixin."
default = ""
}
variable "namespace" {
type = string
description = "Organization namespace (e.g. `acme`)."
default = ""
}
variable "tenant" {
type = string
description = "Tenant/OU name (e.g. `plat`)."
default = ""
}
variable "environment" {
type = string
description = "Environment/region code (e.g. `ue2`)."
default = ""
}
variable "stage" {
type = string
description = "Stage/account name (e.g. `dev`)."
default = ""
}
variable "name" {
type = string
description = "Component name, used to build the resource identifier."
}
variable "kms_key_arn" {
type = string
description = "ARN of the KMS key used for server-side encryption (required)."
}
variable "versioning_enabled" {
type = bool
description = "Whether object versioning is enabled on the bucket."
default = true
}
variable "force_destroy" {
type = bool
description = "Whether to allow the bucket to be destroyed while it still contains objects."
default = false
}
variable "tags" {
type = map(string)
description = "Tags applied to all resources."
default = {}
}