Skip to content

Commit

Permalink
Changed the rds module to use the new module repo
Browse files Browse the repository at this point in the history
  • Loading branch information
252afh committed Aug 23, 2024
1 parent 427d67f commit 5cdef62
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions infrastructure/postgres.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module "rds" {
source = "../../i-ai-core-infrastructure//modules/rds"
# checkov:skip=CKV_TF_1: We're using semantic versions instead of commit hash
# source = "../../../i-dot-ai-core-terraform-modules//modules/infrastructure/rds" # For testing local changes
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/rds?ref=v1.0.0-rds"
vpc_id = data.terraform_remote_state.vpc.outputs.vpc_id
public_subnet_ids_list = data.terraform_remote_state.vpc.outputs.public_subnets
private_subnet_ids_list = data.terraform_remote_state.vpc.outputs.private_subnets
Expand All @@ -15,7 +17,4 @@ module "rds" {
secret_tags = {
"platform:secret-purpose" : "general"
}
engine = "postgres"
engine_version = "16.3"
family = "postgres16"
}

0 comments on commit 5cdef62

Please sign in to comment.