atst/terraform/providers/dev/postgres.tf
Rob Gil f104803b6d 169163334 - Adds postgres module and configures dev to run pg
Adds the postgres module and configures it in the development
environment.
2019-12-16 09:19:28 -05:00

9 lines
260 B
HCL

module "sql" {
source = "../../modules/postgres"
name = var.name
owner = var.owner
environment = var.environment
region = var.region
subnet_id = module.vpc.subnets # FIXME - Should be a map of subnets and specify private
}