Skip to content

Instantly share code, notes, and snippets.

@pmatsinopoulos
Created August 28, 2023 07:37
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/ee5a510fe8a0ee03a7585fc64f9dfdd7 to your computer and use it in GitHub Desktop.
Save pmatsinopoulos/ee5a510fe8a0ee03a7585fc64f9dfdd7 to your computer and use it in GitHub Desktop.
AWS Private and Public Subnets - internet_gateway.tf
resource "aws_internet_gateway" "private_and_public_subnets" {
vpc_id = aws_vpc.private_and_public_subnets.id
tags = {
"Name" = "igw"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment