Harden low-risk infrastructure settings

This commit is contained in:
2026-11-15 00:22:13 +09:00
parent d995b04a91
commit 1f1888ecad
9 changed files with 190 additions and 27 deletions
@@ -45,6 +45,11 @@ run "plan_group1_osaka" {
error_message = "The Osaka test must create two unprotected, force-destroyable S3 buckets."
}
assert {
condition = length(aws_s3_bucket.access_logs_unprotected) == 1 && aws_s3_bucket.access_logs_unprotected[0].force_destroy
error_message = "The Osaka test must create one unprotected, force-destroyable S3 access log bucket."
}
assert {
condition = !aws_cloudtrail.management_events.is_multi_region_trail
error_message = "The Osaka test CloudTrail trail must be single-Region."