169163334 - Adds postgres module and configures dev to run pg

Adds the postgres module and configures it in the development
environment.
This commit is contained in:
Rob Gil
2019-12-15 12:48:40 -05:00
parent 4c6c414d00
commit f104803b6d
4 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
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
}