Skip to content

Commit c2ca669

Browse files
committed
fix: incorrect database variable reference
1 parent 279f683 commit c2ca669

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • templates/terraform/modules/database

templates/terraform/modules/database/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module "rds_security_group" {
99

1010
number_of_computed_ingress_with_source_security_group_id = 1
1111
computed_ingress_with_source_security_group_id = [
12-
var.database == "postgres" ? {
12+
var.database_engine == "postgres" ? {
1313
from_port = 5432
1414
to_port = 5432
1515
protocol = "tcp"

0 commit comments

Comments
 (0)