I have created a cookbook and signed a role. When I do
knife bootstrap ip-10-185-211-254.ec2.internal -x ubuntu -i JP_Key.pem —sudo -r "role[webserver]"
I'm getting the following error:
ERROR: Network Error: getaddrinfo: Temporary failure in name resolution
Check your knife configuration and network settings
Do I need to add the access key and secret key in knife.rb
?