resource "aws_vpc" "vpc-bbd725d3" {
  #checkov:skip=CKV2_AWS_12: Ensure the default security group of every VPC restricts all traffic
  #checkov:skip=CKV2_AWS_11: Ensure VPC flow logging is enabled in all VPCs
  assign_generated_ipv6_cidr_block     = "false"
  cidr_block                           = "10.11.106.0/25"
  enable_dns_hostnames                 = "true"
  enable_dns_support                   = "true"
  enable_network_address_usage_metrics = "false"
  instance_tenancy                     = "default"

  tags = {
    App           = "Delivery"
    Business-Unit = "Delivery-Services"
    Environment   = "Stage"
    Name          = "DEL-S2"
    Owner         = "Robert Dewilder"
    Project-Code  = "SME-2000-0306B"
    Project-Name  = "Delivery-Stage"
  }

  tags_all = {
    App           = "Delivery"
    Business-Unit = "Delivery-Services"
    Environment   = "Stage"
    Name          = "DEL-S2"
    Owner         = "Robert Dewilder"
    Project-Code  = "SME-2000-0306B"
    Project-Name  = "Delivery-Stage"
  }
}

resource "aws_vpc_ipv4_cidr_block_association" "secondary_cidr" {
  vpc_id     = aws_vpc.vpc-bbd725d3.id
  cidr_block = "10.250.196.192/26"
}

resource "aws_vpc_ipv4_cidr_block_association" "secondary_cidr2" {
  vpc_id     = aws_vpc.vpc-bbd725d3.id
  cidr_block = "10.250.6.0/24"
}
