I've been thrown into the deep end of Chef this past week, and I'm stuck on one thing at the moment. I've created an instance in AWS (many times at this point) and when chef kicks in to do its thing I get an compilation error. Fine, I'll figure out what's up and then reapply.
My question: How can I update an existing instance? I can use $ knife ec2 server create [coptions]
but is there a corresponding update command? My brain wants to execute something like $ knife ec2 server update [AWS instance ID] -x userXXX -r 'recipe[yyy::zzzz]'
I don't see update as an option so is there anything similar?
I don't want to keep creating and terminating instances while I troubleshoot what is going on with the recipe, I would rather apply changes to an existing instance.