Fix naming resources in tf
This commit is contained in:
parent
b7f6bc7fa6
commit
c8b5558d40
1 changed files with 7 additions and 7 deletions
14
main.tf
14
main.tf
|
@ -1,18 +1,18 @@
|
||||||
resource "aws_vpc" "survey-buttler-vpc" {
|
resource "aws_vpc" "metalisp-survey-vpc" {
|
||||||
cidr_block = "10.123.0.0/16"
|
cidr_block = "10.0.0.0/16"
|
||||||
enable_dns_hostnames = true
|
enable_dns_hostnames = true
|
||||||
enable_dns_support = true
|
enable_dns_support = true
|
||||||
tags = {
|
tags = {
|
||||||
Name = "survey-buttler-vpc"
|
Name = "metalisp-survey-vpc"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_subnet" "survey-buttler-public-subnet" {
|
resource "aws_subnet" "metalisp-survey-public-subnet" {
|
||||||
vpc_id = aws_vpc.survey-buttler-vpc.id
|
vpc_id = aws_vpc.metalisp-survey-vpc.id
|
||||||
cidr_block = "10.123.1.0/24"
|
cidr_block = "10.0.1.0/24"
|
||||||
map_public_ip_on_launch = true
|
map_public_ip_on_launch = true
|
||||||
availability_zone = "eu-central-1"
|
availability_zone = "eu-central-1"
|
||||||
tags = {
|
tags = {
|
||||||
Name = "survey-buttler-public"
|
Name = "metalisp-survey-public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue