diff --git a/bucket_replication.tf b/bucket_replication.tf index 9a5398d..c49b4a4 100644 --- a/bucket_replication.tf +++ b/bucket_replication.tf @@ -4,6 +4,15 @@ resource "aws_s3_bucket" "replication_bucket" { # checkov:skip=CKV2_AWS_62:False Positive. This bucket is the replication destination # checkov:skip=CKV_AWS_144:False Positive. This bucket is the replication destination + ## Since we use the attribute 'count' to create an aws_s3_bucket, checkov has a known issue that results in + ## an error even though we are using the correct configurations. (Ref https://github.com/bridgecrewio/checkov/issues/3847) + # checkov:skip=CKV2_AWS_65:Skip due to above comment + # checkov:skip=CKV2_AWS_61:Skip due to above comment + # checkov:skip=CKV_AWS_145:Skip due to above comment + # checkov:skip=CKV2_AWS_64:Skip due to above comment + # checkov:skip=CKV_AWS_21:Skip due to above comment + # checkov:skip=CKV2_AWS_6:Skip due to above comment + provider = aws.secondary bucket = format("%s-%s-%s-%s", var.namespace, var.stage, var.name, var.bucket_replication_name)