Skip to content

Commit

Permalink
fix: indicate port 80 is http NOT ssh (#273)
Browse files Browse the repository at this point in the history
fixes a comment typo indicating that port 80 was assigned to ssh
  • Loading branch information
ColWillis authored Apr 14, 2020
1 parent c0fec97 commit 92cf319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
host.connections.allow_from_any_ipv4(
ec2.Port.tcp(22), "Allow ssh from internet")
host.connections.allow_from_any_ipv4(
ec2.Port.tcp(80), "Allow ssh from internet")
ec2.Port.tcp(80), "Allow http from internet")

core.CfnOutput(self, "Output",
value=host.instance_public_ip)

0 comments on commit 92cf319

Please sign in to comment.