resource "aws_vpc" "vpc-0d1e554606bf981b1" {
  #checkov:skip=CKV2_AWS_12: Ensure the default security group of every VPC restricts all traffic. Migrated existing VPC as-is.
  #checkov:skip=CKV2_AWS_11: Ensure VPC flow logging is enabled in all VPCs. Migrated existing VPC as-is.
  assign_generated_ipv6_cidr_block     = "false"
  cidr_block                           = "10.250.1.192/26"
  enable_dns_hostnames                 = "true"
  enable_dns_support                   = "true"
  enable_network_address_usage_metrics = "false"
  instance_tenancy                     = "default"

  tags = {
    Business-Unit = "AMP-Digital-Archive"
    Environment   = "Prod"
    Name          = "AMP-DIGARCH-P"
    Owner         = "Nathaniel Lovett"
    Project-Code  = "SME-AMP"
    Project-Name  = "AMP"
  }

  tags_all = {
    Business-Unit = "AMP-Digital-Archive"
    Environment   = "Prod"
    Name          = "AMP-DIGARCH-P"
    Owner         = "Nathaniel Lovett"
    Project-Code  = "SME-AMP"
    Project-Name  = "AMP"
  }
}

resource "aws_vpc_ipv4_cidr_block_association" "secondary_cidr2" {
  vpc_id     = aws_vpc.vpc-0d1e554606bf981b1.id
  cidr_block = "10.250.203.0/26"
}

resource "aws_vpc_ipv4_cidr_block_association" "secondary_cidr3" {
  vpc_id     = aws_vpc.vpc-0d1e554606bf981b1.id
  cidr_block = "10.250.6.0/24"
}
