From 5acdf9236cea9fd57277362a545ba450ff208cf1 Mon Sep 17 00:00:00 2001 From: Andy Miles Date: Sun, 8 Dec 2024 06:10:36 -0800 Subject: [PATCH] trying cleanup steps --- terraform/main.tf | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index ae11acb..18887c1 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -89,22 +89,3 @@ resource "aws_instance" "py_server" { aws_security_group.allow_http.id, aws_security_group.allow_ssh.id ] } - -resource "aws_security_group" "allow_http" { - name = "allow_http_flask_web_app" - description = "Allow inbound HTTP traffic" - - ingress { - from_port = 5000 - to_port = 5000 - protocol = "tcp" - cidr_blocks = ["0.0.0.0/0"] - } - - egress { - from_port = 0 - to_port = 0 - protocol = "-1" - cidr_blocks = ["0.0.0.0/0"] - } -}