Files
infra/infra/subnet.tf
shockrah 8f5ff2aff3 ! Baseline Terraform configuration(no EIP yet)
Major components are scripted out here however a
gateway + EIP still need to be configured for full
base level infra "doneness"
2021-11-24 20:44:32 -08:00

16 lines
337 B
HCL

# This script represents the subnet structure for Crete(primary subnet)
variable "crete_cidr" {}
variable "athens_availability_zone" {}
resource "aws_subnet" "crete_subnet" {
vpc_id = aws_vpc.athens_vpc.id
cidr_block = var.crete_cidr
availability_zone = var.athens_availability_zone
tags = {
Name = "Create Subnet"
}
}