Add group 1 audit logging encryption imports

This commit is contained in:
2026-11-14 13:31:59 +09:00
commit 3b54c4eb84
16 changed files with 607 additions and 0 deletions
@@ -0,0 +1,69 @@
variable "region" {
description = "Primary AWS region for regional resources."
type = string
}
variable "name_prefix" {
description = "Prefix available to callers that create an isolated test copy."
type = string
}
variable "account_id" {
description = "AWS account ID used to construct existing policies and ARNs."
type = string
}
variable "bucket_names" {
description = "Optional existing bucket names. Omitted values are derived from name_prefix for isolated tests."
type = object({
obsidian = optional(string)
cloudtrail = optional(string)
flowlogs = optional(string)
})
default = {}
}
variable "bucket_tags" {
description = "Existing tags keyed by the logical bucket name."
type = map(map(string))
default = {}
}
variable "trail_name" {
description = "CloudTrail trail name."
type = string
}
variable "kms_alias_name" {
description = "Alias of the customer managed Vault key."
type = string
}
variable "log_groups" {
description = "CloudWatch log groups and their retention in days. Null means never expire."
type = map(object({
name = string
retention_in_days = optional(number)
tags = optional(map(string), {})
}))
}
variable "dashboard_name" {
description = "CloudWatch dashboard name."
type = string
}
variable "dashboard_nat_gateway_id" {
description = "NAT Gateway ID referenced by the existing dashboard widget."
type = string
}
variable "sns_topic_name" {
description = "SNS topic name in us-east-1."
type = string
}
variable "billing_alarm_name" {
description = "CloudWatch billing alarm name in us-east-1."
type = string
}