Skip to content

Commit

Permalink
Terraform EC2 instance with Milvus
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Elhaiek committed Mar 12, 2024
1 parent a5f2fad commit fe04b6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ resource "aws_instance" "milvus_instance" {
instance_type = var.instance_type
key_name = var.key_name
security_groups = [aws_security_group.milvus_sg.name]
user_data = "${file("create-milvus.sh")}"
user_data = file("${path.module}/create-milvus.sh")

# "${file("create-milvus.sh")}"

tags = {
Name = "MilvusInstance"
Expand Down

0 comments on commit fe04b6c

Please sign in to comment.