diff --git a/ec2.tf b/ec2.tf index 2bddb0d..4c5c77c 100644 --- a/ec2.tf +++ b/ec2.tf @@ -12,7 +12,7 @@ resource "aws_instance" "k3s_box" { delete_on_termination = true } - user_data = "${file("script.sh")}" + user_data = "${file("./script.sh")}" tags = { Name = "k3s-box"