Use account regional namespace for access logs
This commit is contained in:
@@ -50,6 +50,11 @@ run "plan_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."
|
||||
|
||||
Reference in New Issue
Block a user