Use account regional namespace for access logs

This commit is contained in:
2026-11-15 00:52:52 +09:00
parent 1f1888ecad
commit 7ec829fd0a
5 changed files with 31 additions and 7 deletions
@@ -53,6 +53,11 @@ run "apply_group1_osaka" {
error_message = "The Osaka test must create one unprotected, force-destroyable S3 access log bucket."
}
assert {
condition = aws_s3_bucket.access_logs_unprotected[0].bucket_namespace == "global"
error_message = "The Osaka test must keep the S3 access log bucket in the default global namespace."
}
assert {
condition = !aws_cloudtrail.management_events.is_multi_region_trail
error_message = "The Osaka test CloudTrail trail must be single-Region."