From aea8b50c727159ac421956c41a6148064925324c Mon Sep 17 00:00:00 2001 From: Miguel Elhaiek Date: Thu, 14 Mar 2024 11:13:35 -0300 Subject: [PATCH] Adding new instance for testing security --- .github/workflows/build_and_deploy.yml | 10 +++++----- terraform/main.tf | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index f161835..b756adb 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -44,11 +44,11 @@ jobs: run: terraform apply -auto-approve tfplan working-directory: terraform - - name: Set EC2_INSTANCE_IP environment variable - run: | - set -x - EC2_INSTANCE_IP=$(terraform output -raw ec2_instance_public_ip) - echo "EC2_INSTANCE_IP=$EC2_INSTANCE_IP" >> $GITHUB_ENV + # - name: Set EC2_INSTANCE_IP environment variable + # run: | + # set -x + # EC2_INSTANCE_IP=$(terraform output -raw ec2_instance_public_ip) + # echo "EC2_INSTANCE_IP=$EC2_INSTANCE_IP" >> $GITHUB_ENV # - name: Transfer create-milvus.sh to EC2 instance # run: | diff --git a/terraform/main.tf b/terraform/main.tf index daf95fb..5323db2 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -53,7 +53,7 @@ resource "aws_instance" "milvus_instance" { # "${file("create-milvus.sh")}" tags = { - Name = "MilvusInstance" + Name = "Milvus-central-db" } }