The Chef SDK contains Test Kitchen, that can launch server instances to test your Chef cookbooks. Test Kitchen uses the “chef_zero” provisioner to use your workstation as the virtual Chef server.
To switch Test Kitchen to launch instances in another AWS account
- In the .kitchen.yml file update the
- In the default.rb attribute file update the
- In the ~/.aws/credentials file update the
- [default] section