File tree 2 files changed +2
-2
lines changed
modules/logging_configuration 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
locals {
2
- # tflint-ignore: terraform_unused_declarations
2
+ # tflint-ignore: terraform_unused_declarations
3
3
cloudwatch_log_group_name = var. enable_logging ? (var. override_cloudwatch_log_group_name != " " ? var. override_cloudwatch_log_group_name : aws_cloudwatch_log_group. cloudwatch_log_group [0 ]. arn ) : " "
4
4
account_id = data. aws_caller_identity . current . account_id
5
5
aws_region = data. aws_region . current . name
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ resource "aws_verifiedaccess_instance_logging_configuration" "this" {
29
29
}
30
30
31
31
resource "aws_cloudwatch_log_group" "cloudwatch_log_group" {
32
- # checkov:skip=CKV_AWS_338:Ensure CloudWatch log groups retains logs for at least 1 year
32
+ # checkov:skip=CKV_AWS_338:Ensure CloudWatch log groups retains logs for at least 1 year
33
33
count = var. create_cloudwatch_log_group && var. enable_logging ? 1 : 0
34
34
name = var. cloudwatch_log_group_name
35
35
kms_key_id = aws_kms_key. log_encryption_key . arn
You can’t perform that action at this time.
0 commit comments