Skip to content

Instantly share code, notes, and snippets.

@snassr
Last active October 16, 2023 03:19
Show Gist options
  • Save snassr/412513cd83fe3dfdf44a125e8bb89e0d to your computer and use it in GitHub Desktop.
Save snassr/412513cd83fe3dfdf44a125e8bb89e0d to your computer and use it in GitHub Desktop.
medium_blog_652A1BBE_awsnetworking_vpc_1.tf
resource "aws_vpc" "awsnetblog_vpc_01" {
assign_generated_ipv6_cidr_block = false
cidr_block = "10.1.0.0/16"
instance_tenancy = "default"
tags = {
"Name" = "awsnetblog_vpc_01"
"Project" = var.project
}
}
resource "aws_internet_gateway" "awsnetblog_vpc_01-igw" {
vpc_id = aws_vpc.awsnetblog_vpc_01.id
tags = {
"Name" = "awsnetblog_vpc_01-igw"
"Project" = var.project
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment