From 24f0c03711c4a6bdc86ac469683995b709e892ec Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 7 Mar 2024 08:58:28 -0800 Subject: [PATCH] [PROGRESS UPDATE] --- .gitignore | 1 + curl.txt | 3 +++ swarm_cloud.tf | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 curl.txt diff --git a/.gitignore b/.gitignore index 5fdfa6f..8a1f9e6 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ develop-eggs/ dist/ downloads/ eggs/ +.terraform .eggs/ lib/ lib64/ diff --git a/curl.txt b/curl.txt new file mode 100644 index 0000000..f2ed7ca --- /dev/null +++ b/curl.txt @@ -0,0 +1,3 @@ +curl -X POST -H "Content-Type: application/json" -d '{"message": "Hello, world!"}' https://18.207.218.138:8000/v1/completion + + diff --git a/swarm_cloud.tf b/swarm_cloud.tf index bf62706..cdae342 100644 --- a/swarm_cloud.tf +++ b/swarm_cloud.tf @@ -127,7 +127,7 @@ resource "aws_autoscaling_group" "model_api_asg" { resource "aws_lb_target_group" "model_api_tg" { name = "model-api-tg" - port = 80 + port = 8000 protocol = "HTTP" vpc_id = aws_vpc.main.id