Skip to content

Commit

Permalink
Nit 963 delius core db Create inbound sg rule (#4297)
Browse files Browse the repository at this point in the history
* initial module declaration

* ami to object

* set up security groups

* adding dns and condensing sg

* correct provider configs + ebs/key troubleshooting

* refactoring

* refactor

* Update instance.tf

* add correct tags

* Update instance.tf

* Update instance.tf

* move locals

* Remove double b64 encode

* Update database.tf

* enforce subnet spread

* Update database.tf

* Update database.tf

* Update database.tf

* error

* Update database.tf

* Update sg.tf
  • Loading branch information
georgepstaylor authored Dec 12, 2023
1 parent 1623f9c commit 68e7f8a
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ resource "aws_vpc_security_group_egress_rule" "db_inter_conn" {
referenced_security_group_id = aws_security_group.db_ec2.id
}

resource "aws_vpc_security_group_ingress_rule" "db_inter_conn" {
security_group_id = aws_security_group.db_ec2.id
description = "Allow communication between delius db instances"
from_port = 1521
to_port = 1521
ip_protocol = "tcp"
referenced_security_group_id = aws_security_group.db_ec2.id
}

resource "aws_vpc_security_group_ingress_rule" "delius_db_security_group_ingress_bastion" {
security_group_id = aws_security_group.db_ec2.id
description = "bastion to testing db"
Expand Down

0 comments on commit 68e7f8a

Please sign in to comment.