Initial commit
terraform / check (push) Canceled after 0s

This commit is contained in:
stolzor committed 2026-10-11 20:30:21 +03:00
commit 64be99308b
53 files changed
+1983

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
variable "service" {
type = object({
name = string
buckets = map(object({
versioning = optional(bool, true)
noncurrent_days = optional(number, 30)
}))
})
validation {
condition = length(var.service.buckets) > 0
error_message = "У сервиса должен быть хотя бы один бакет: IAM-политика с пустым списком Resource невалидна."
}
}