Skip to content

Commit

Permalink
fix: Added ignore for vpc flow log error because it enabled via separ…
Browse files Browse the repository at this point in the history
…ate resource
  • Loading branch information
13archit committed Jul 25, 2023
1 parent b59d760 commit 8e70e44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module "labels" {
##-----------------------------------------------------------------------------
## Below resources will deploy VPC and its components.
##-----------------------------------------------------------------------------
#tfsec:ignore:aws-ec2-require-vpc-flow-logs-for-all-vpcs ## Because flow log resource for vpc is defined below.
resource "aws_vpc" "default" {
count = var.enable ? 1 : 0
cidr_block = var.ipam_pool_enable ? null : var.cidr_block
Expand Down

0 comments on commit 8e70e44

Please sign in to comment.