terraform aws ec2 instance vpc code example
Example: aws terraform vpc
resource "aws_vpc" "<name your vpc>" {
cidr_block = "10.0.0.0/16"
tags = { (optional)
Name = "<name your vpc>"
}
}
resource "aws_vpc" "<name your vpc>" {
cidr_block = "10.0.0.0/16"
tags = { (optional)
Name = "<name your vpc>"
}
}