From 4eb22f7b691903097ce10e2cd925a2b6c8519556 Mon Sep 17 00:00:00 2001 From: Andy Miles Date: Sun, 10 Nov 2024 11:59:13 -0800 Subject: [PATCH] check via gha - works locally --- terraform/main.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index 58292e1..edb02a8 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -18,14 +18,10 @@ resource "aws_instance" "py_server" { @app.route('/') def hello(): return "Hello from Python!" - if __name__ == '__main__': app.run(host='0.0.0.0', port=5000) EOT - pip3 install flask - - # Run app python3 /app/app.py & EOF