Fix the directory's project structure for better understading
authorCássio Gabriel <cassiogabrielcontato@gmail.com>
Mon, 26 Jan 2026 17:25:32 +0000 (14:25 -0300)
committerCássio Gabriel <cassiogabrielcontato@gmail.com>
Mon, 26 Jan 2026 17:25:32 +0000 (14:25 -0300)
scripts/user_data_config.sh [moved from terraform/user_data_config.sh with 100% similarity]
terraform/main.tf

index bfb7e9d0c677e24e880305bda2b2b53676b6f6cf..0c1370cbcbbf0b9aeca92378fc3bb2dbfb620eeb 100644 (file)
@@ -92,7 +92,7 @@ resource "aws_instance" "gitweb" {
   vpc_security_group_ids = [aws_security_group.gitweb.id]
   key_name               = var.key_name
 
-  user_data = file("${path.module}/user_data_config.sh")
+  user_data = file("${path.module}/scripts/user_data_config.sh")
 
   tags = {
     Name = "${var.project_name}-ec2"