Skip to content

Commit

Permalink
Merge pull request #148 from kloia/aws-rds
Browse files Browse the repository at this point in the history
fix module references
  • Loading branch information
ahmetayd authored Apr 22, 2024
2 parents afe825c + d79b42f commit f66de8e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions aws-rds/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ locals {
}

module "db_subnet_group" {
source = "./modules/db_subnet_group"
source = "./db_subnet_group"

create = local.create_db_subnet_group

Expand All @@ -24,7 +24,7 @@ module "db_subnet_group" {
}

module "db_parameter_group" {
source = "./modules/db_parameter_group"
source = "./db_parameter_group"

create = local.create_db_parameter_group

Expand All @@ -39,7 +39,7 @@ module "db_parameter_group" {
}

module "db_option_group" {
source = "./modules/db_option_group"
source = "./db_option_group"

create = local.create_db_option_group

Expand All @@ -57,7 +57,7 @@ module "db_option_group" {
}

module "db_instance" {
source = "./modules/db_instance"
source = "./db_instance"

create = local.create_db_instance
identifier = var.identifier
Expand Down Expand Up @@ -155,7 +155,7 @@ module "db_instance" {
}

module "db_instance_role_association" {
source = "./modules/db_instance_role_association"
source = "./db_instance_role_association"

for_each = { for k, v in var.db_instance_role_associations : k => v if var.create_db_instance }

Expand Down

0 comments on commit f66de8e

Please sign in to comment.