Skip to content

Commit

Permalink
Move import block again
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Jan 8, 2024
1 parent dd4c938 commit 117cc59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions terraform/modules/networking/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ resource "aws_db_subnet_group" "private_subnet_group" {
]
}

import {
to = aws_db_subnet_group.private_subnet_group
id = "private-subnet-group-development"
}

// Routing table for the private subnets
resource "aws_route_table" "private" {
vpc_id = aws_vpc.vpc.id
Expand Down
5 changes: 5 additions & 0 deletions terraform/nowcasting/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ module "networking" {
region = var.region
}

import {
to = module.networking.aws_db_subnet_group.private_subnet_group
id = "private-subnet-group-development"
}

# 0.2
module "ec2-bastion" {
source = "../../modules/networking/ec2_bastion"
Expand Down

0 comments on commit 117cc59

Please sign in to comment.