Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Oct 31, 2023
1 parent 05b2f69 commit fddc51f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions terraform/modules/networking/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ output "public_subnets" {
output "private_subnet_group" {
value = aws_db_subnet_group.private_subnet_group
}

output "public_internet_gateway" {
value = aws_internet_gateway.public_internet_gateway
}
8 changes: 4 additions & 4 deletions terraform/nowcasting/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ module "pvsite_subnetworking" {

region = var.region
environment = var.environment
vpc_id = var.vpc_id
vpc_id = module.networking.vpc_id
public_subnets_cidr = var.public_subnets_cidr
private_subnets_cidr = var.private_subnets_cidr
availability_zones = local.production_availability_zones
domain = "pvsite"
public_internet_gateway_id = var.public_internet_gateway_id
public_internet_gateway_id = networking.public_internet_gateway.id
}


Expand Down Expand Up @@ -149,7 +149,7 @@ module "pvsite_api" {

region = var.region
environment = var.environment
vpc_id = var.vpc_id
vpc_id = module.networking.vpc_id
subnets = [module.pvsite_subnetworking.public_subnet.id]
docker_version = var.pvsite_api_version
domain = "pvsite"
Expand Down Expand Up @@ -177,7 +177,7 @@ module "pvsite_database" {
region = var.region
environment = var.environment
db_subnet_group = module.pvsite_subnetworking.private_subnet_group
vpc_id = var.vpc_id
vpc_id = module.networking.vpc_id
db_name = "pvsite"
rds_instance_class = "db.t3.small"
allow_major_version_upgrade = true
Expand Down

0 comments on commit fddc51f

Please sign in to comment.