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
+80
View File
@@ -0,0 +1,80 @@
import {
for_each = local.bucket_names
to = module.audit_logging_encryption.aws_s3_bucket.this[each.key]
id = each.value
}
import {
for_each = local.bucket_names
to = module.audit_logging_encryption.aws_s3_bucket_versioning.this[each.key]
id = each.value
}
import {
for_each = local.bucket_names
to = module.audit_logging_encryption.aws_s3_bucket_server_side_encryption_configuration.this[each.key]
id = each.value
}
import {
for_each = local.bucket_names
to = module.audit_logging_encryption.aws_s3_bucket_public_access_block.this[each.key]
id = each.value
}
import {
for_each = local.bucket_names
to = module.audit_logging_encryption.aws_s3_bucket_ownership_controls.this[each.key]
id = each.value
}
import {
for_each = local.bucket_names
to = module.audit_logging_encryption.aws_s3_bucket_policy.this[each.key]
id = each.value
}
import {
for_each = {
cloudtrail = local.bucket_names.cloudtrail
flowlogs = local.bucket_names.flowlogs
}
to = module.audit_logging_encryption.aws_s3_bucket_lifecycle_configuration.this[each.key]
id = each.value
}
import {
to = module.audit_logging_encryption.aws_kms_key.vault
id = "46975f6d-881a-4188-8fdf-b641e1258a85"
}
import {
to = module.audit_logging_encryption.aws_kms_alias.vault
id = "alias/vault-kms"
}
import {
for_each = local.log_groups
to = module.audit_logging_encryption.aws_cloudwatch_log_group.this[each.key]
id = each.value.name
}
import {
to = module.audit_logging_encryption.aws_cloudwatch_dashboard.cost_check
id = "CostCheck"
}
import {
to = module.audit_logging_encryption.aws_sns_topic.notify_me
id = "arn:aws:sns:us-east-1:${var.account_id}:NotifyMe"
}
import {
to = module.audit_logging_encryption.aws_cloudwatch_metric_alarm.billing
id = "awsbilling-AWS-Service-Charges-total"
}
import {
to = module.audit_logging_encryption.aws_cloudtrail.management_events
id = "arn:aws:cloudtrail:${var.region}:${var.account_id}:trail/management-events"
}