I’ve been trying to bootstrap a node with terraform EC2 instance, but I keep getting the following error.
aws_instance.XXX (chef): curl: (7) Failed to connect to www.chef
aws_instance.XXX (chef): .io port 443: Connection timed out
aws_instance.XXX (chef): curl: (7) Failed to connect to www.ch
aws_instance.XXX (chef): ef.io port 443: Connection timed out
Error applying plan:
3 error(s) occurred:
- Command “sudo curl -LO https://www.chef.io/chef/install.sh” exited with non-zero exit status: 7
- Command “sudo curl -LO https://www.chef.io/chef/install.sh” exited with non-zero exit status: 7
- Command “sudo curl -LO https://www.chef.io/chef/install.sh” exited with non-zero exit status: 7