dev.metalisp.survey/main.tf

19 lines
479 B
Terraform
Raw Normal View History

2024-07-07 19:39:42 +02:00
resource "aws_vpc" "metalisp-survey-vpc" {
cidr_block = "10.0.0.0/16"
2024-06-26 17:29:56 +02:00
enable_dns_hostnames = true
enable_dns_support = true
tags = {
2024-07-07 19:39:42 +02:00
Name = "metalisp-survey-vpc"
2024-06-26 17:29:56 +02:00
}
}
2024-06-27 17:55:21 +02:00
2024-07-07 19:39:42 +02:00
resource "aws_subnet" "metalisp-survey-public-subnet" {
vpc_id = aws_vpc.metalisp-survey-vpc.id
cidr_block = "10.0.1.0/24"
2024-06-27 17:55:21 +02:00
map_public_ip_on_launch = true
availability_zone = "eu-central-1"
tags = {
2024-07-07 19:39:42 +02:00
Name = "metalisp-survey-public"
2024-06-27 17:55:21 +02:00
}
}