Skip to content

Instantly share code, notes, and snippets.

@NYARAS
Created November 18, 2021 21:03
Show Gist options
  • Save NYARAS/4229bad56a3e90a085b62b6a236e5bee to your computer and use it in GitHub Desktop.
Save NYARAS/4229bad56a3e90a085b62b6a236e5bee to your computer and use it in GitHub Desktop.
resource "aws_vpc" "main" {
# The CIDR block for the VPC
cidr_block = "192.168.0.0/16"
# Make your instances shared on the host
instance_tenancy = "default"
# Required for EKS. Enable/Disable DNS support in the VPC
enable_dns_support = true
# Required for EKS. Enable/Disable DNS hostnames in the VPC
enable_dns_hostnames = true
# Enable/disable ClassicLink for the VPC
enable_classiclink = false
# Enable/disable ClassicLink DNS support for the VPC
enable_classiclink_dns_support = false
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
assign_generated_ipv6_cidr_block = false
# A map of tags to assign to the resource
tags = {
"Name" = "main"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment