Add SSH ingress to the autoscaling group
@@ -52,6 +52,14 @@ resource "aws_security_group" "cccatalog-api-ingress" {
cidr_blocks = ["172.31.0.0/16"]
}
+ # Allow SSH
+ ingress {
+ from_port = 22
+ to_port = 22
+ protocol = "tcp"
+ cidr_blocks = ["0.0.0.0/0"]
+ }
+
lifecycle {
create_before_destroy = true
}
