File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,10 @@ resource "aws_instance" "app-server-read" {
49
49
vpc_security_group_ids = [aws_security_group . ec2_instance . id ]
50
50
iam_instance_profile = aws_iam_instance_profile. ec2_profile . name
51
51
associate_public_ip_address = true
52
- subnet_id = aws_subnet. public [0 ]. id
53
- ebs_optimized = true
54
- monitoring = true
52
+ # checkov:skip=CKV_AWS_88: Required for Session Manager access
53
+ subnet_id = aws_subnet. public [0 ]. id
54
+ ebs_optimized = true
55
+ monitoring = true
55
56
root_block_device {
56
57
encrypted = true
57
58
}
@@ -76,9 +77,10 @@ resource "aws_instance" "app-server-write" {
76
77
vpc_security_group_ids = [aws_security_group . ec2_instance . id ]
77
78
iam_instance_profile = aws_iam_instance_profile. ec2_profile . name
78
79
associate_public_ip_address = true
79
- subnet_id = aws_subnet. public [0 ]. id
80
- ebs_optimized = true
81
- monitoring = true
80
+ # checkov:skip=CKV_AWS_88: Required for Session Manager access
81
+ subnet_id = aws_subnet. public [0 ]. id
82
+ ebs_optimized = true
83
+ monitoring = true
82
84
root_block_device {
83
85
encrypted = true
84
86
}
You can’t perform that action at this time.
0 commit comments