Narrow group 1 managed resources

This commit is contained in:
2026-11-14 13:42:43 +09:00
parent f1f60740ae
commit 94a5c2bf55
7 changed files with 12 additions and 117 deletions
+3 -16
View File
@@ -35,12 +35,9 @@ import {
}
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
for_each = local.bucket_names
to = module.audit_logging_encryption.aws_s3_bucket_lifecycle_configuration.this[each.key]
id = each.value
}
import {
@@ -59,16 +56,6 @@ import {
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"