Open desaicg opened 1 month ago
Initializing the backend... Initializing modules... Downloading registry.terraform.io/terraform-aws-modules/ec2-instance/aws 5.7.0 for ec2-instance... ╷ │ Error: Failed to download module │ │ on ec2-module.tf line 1: │ 1: module "ec2-instance" { │ │ Could not download module "ec2-instance" (ec2-module.tf:1) source code from │ "git::https://github.com/terraform-aws-modules/terraform-aws-ec2-instance?ref=29230f956912d751a01a5694510f684754a93196": error │ downloading 'https://github.com/terraform-aws-modules/terraform-aws-ec2-instance?ref=29230f956912d751a01a5694510f684754a93196': │ git must be available and on the PATH.
I am downloading module from Windows 11 and getting above error
can you paste your config here?
Initializing the backend... Initializing modules... Downloading registry.terraform.io/terraform-aws-modules/ec2-instance/aws 5.7.0 for ec2-instance... ╷ │ Error: Failed to download module │ │ on ec2-module.tf line 1: │ 1: module "ec2-instance" { │ │ Could not download module "ec2-instance" (ec2-module.tf:1) source code from │ "git::https://github.com/terraform-aws-modules/terraform-aws-ec2-instance?ref=29230f956912d751a01a5694510f684754a93196": error │ downloading 'https://github.com/terraform-aws-modules/terraform-aws-ec2-instance?ref=29230f956912d751a01a5694510f684754a93196': │ git must be available and on the PATH.