IT notes

Terraform Full Vpc

Example of a full VPC setup using terraform, including VPN and using the default subnet: resource "aws_vpc" "test" { cidr_block = "" enable_dns_hostnames = "true" enable_dns_support = "true" tags { Name = "test" } } output "vpc_id" { value = "${}" } resource "aws_internet_gateway" "igw" { vpc_id = "${}" tags { Name = "internet gateway" } } resource "aws_subnet" "public-a" { vpc_id = "${}" cidr_block = "" availability_zone = "eu-central-1a" tags { Name = "public A" } } output "subnet-public-a" { value = "${aws_subnet.


Amazon Virtual Private Cloud (Amazon VPC) enables you to launch Amazon Web Services (AWS) resources into a virtual network that you’ve defined. This virtual network closely resembles a traditional network that you’d operate in your own data center, with the benefits of using the scalable infrastructure of AWS. Things to keep in mind. Normalize your network First of all, do not invent IP’s, please use and create a normalized range using the private ranges: https://en.