Skip to content

Commit

Permalink
modified .env and added the port
Browse files Browse the repository at this point in the history
  • Loading branch information
prashansa joshi committed Sep 20, 2024
1 parent 8c84a79 commit c6362f8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions terraform/sg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ resource "aws_security_group" "database" {
# vpc_id = module.vpc.vpc_id

ingress {
description = "TLS from VPC"
from_port = 3306
to_port = 3306
protocol = "tcp"
description = "TLS from VPC"
from_port = 3306
to_port = 3306
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
# cidr_blocks = local.vpc.vpc_cidr
# security_groups = [aws_security_group.backend_asg.id]
}

Expand Down

0 comments on commit c6362f8

Please sign in to comment.