Skip to content

Instantly share code, notes, and snippets.

@pmatsinopoulos
Last active August 27, 2023 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmatsinopoulos/55b1c0a6be8b2769add2a2221072531f to your computer and use it in GitHub Desktop.
Save pmatsinopoulos/55b1c0a6be8b2769add2a2221072531f to your computer and use it in GitHub Desktop.
AWS Private and Public Subnets - vpc.tf
resource "aws_vpc" "private_and_public_subnets" {
cidr_block = "172.18.0.0/27" # 32 IPs
enable_dns_hostnames = true
enable_dns_support = true
instance_tenancy = "default"
tags = {
"Name" = "${local.project}-vpc"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment