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" } }