Make destroy protection environment aware

This commit is contained in:
2026-11-14 14:05:19 +09:00
parent 94a5c2bf55
commit a1453034c3
8 changed files with 84 additions and 28 deletions
@@ -1,6 +1,6 @@
resource "aws_cloudtrail" "management_events" {
name = var.trail_name
s3_bucket_name = aws_s3_bucket.this["cloudtrail"].id
s3_bucket_name = local.bucket_ids["cloudtrail"]
include_global_service_events = true
is_multi_region_trail = true
is_organization_trail = false