Make destroy protection environment aware

This commit is contained in:
2026-11-14 14:05:19 +09:00
parent 94a5c2bf55
commit a1453034c3
8 changed files with 84 additions and 28 deletions
@@ -13,6 +13,12 @@ variable "account_id" {
type = string
}
variable "protect_from_destroy" {
description = "Protect stateful resources from destroy. prod は true 固定。既存 workspace で true→false に反転しない。"
type = bool
default = true
}
variable "bucket_names" {
description = "Optional existing bucket names. Omitted values are derived from name_prefix for isolated tests."
type = object({