Skip to content

Commit

Permalink
Merge branch 'feature/integrate_actions' into fix/cleanup-code
Browse files Browse the repository at this point in the history
  • Loading branch information
MotwaniM authored Mar 25, 2024
2 parents 83f4a56 + 666cc74 commit 4c702dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infrastructure/postgres.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

locals {
dev_flag = var.env != "prod" ? true : false
}

module "postgres" {
source = "../../i-ai-core-infrastructure//modules/postgres"
vpc_id = data.terraform_remote_state.vpc.outputs.vpc_id
Expand All @@ -12,4 +17,5 @@ module "postgres" {
state_bucket = var.state_bucket
task_prefix = var.project_name
service_sg_ids = [data.terraform_remote_state.platform.outputs.load_balancer_security_group_id["default"]]
dev_instance = local.dev_flag
}

0 comments on commit 4c702dd

Please sign in to comment.