Skip to content

Commit

Permalink
Adding new instance for testing security
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Elhaiek committed Mar 14, 2024
1 parent 20a919f commit aea8b50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "aws_instance" "milvus_instance" {
# "${file("create-milvus.sh")}"

tags = {
Name = "MilvusInstance"
Name = "Milvus-central-db"
}
}

0 comments on commit aea8b50

Please sign in to comment.