Ensure no default VPC is planned to be provisioned

Error: Default VPC is planned to be provisioned

Bridgecrew Policy ID: BC_AWS_NETWORKING_54
Checkov Check ID: CKV_AWS_148
Severity: LOW

Default VPC is planned to be provisioned


A default VPC is a VPC that is created for your AWS account when you create an AWS account. It includes a default security group and a default network access control list (NACL). Default VPCs have some limitations that might not be suitable for all use cases. Therefore, if you have specific requirements for your VPC, such as custom IP address ranges, support for PrivateLink or Transit Gateway, or the ability to delete the VPC, it might be more appropriate to create a custom VPC instead of using the default VPC.

Fix - Buildtime


It is recommended for this resource to not be configured

resource "aws_default_vpc" "default" {
            tags = {
                Name = "Default VPC"