Skip to content

Commit

Permalink
Merge pull request #489 from nasa/feature/ORCA-823
Browse files Browse the repository at this point in the history
ORCA-823: Fix Security Group Errors in Security Group Modules
  • Loading branch information
rizbihassan authored Jan 30, 2024
2 parents 576618e + b8d5bd4 commit d109e10
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ and includes an additional section for migration notes.

### Fixed

- *ORCA-823* Fixed security group errors of incorrect referenced resources in `modules/security-groups/main.tf` and `modules/security-groups/outputs.tf`

### Security

## [9.0.2] 2024-01-26
Expand Down
2 changes: 1 addition & 1 deletion modules/security_groups/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ resource "aws_security_group_rule" "rds_allow_lambda_access" {
to_port = 5432
protocol = "TCP"
description = "Allows ${var.prefix} Orca lambda access."
source_security_group_id = aws_security_group.vpc-postgres-ingress-all-egress.id
source_security_group_id = aws_security_group.vpc_postgres_ingress_all_egress.id
security_group_id = var.rds_security_group_id
}
4 changes: 2 additions & 2 deletions modules/security_groups/output.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "vpc_postgres_ingress_all_egress_id" {
value = aws_security_group.vpc-postgres-ingress-all-egress.id
value = aws_security_group.vpc_postgres_ingress_all_egress.id
description = "PostgreSQL security group id"
}
}

0 comments on commit d109e10

Please sign in to comment.