I just released Chef Provisioning AWS 1.5.0. The CHANGELOG https://github.com/chef/chef-provisioning-aws/blob/master/CHANGELOG.md shows the list of closed bugs/PRs but I wanted to highlight some new features:
- Added support for Route53 hosted zones and resource record sets. Because record sets belong to a hosted zone we introduced a new syntax where the record set resources and included inside the hosted zone resource. Look at the documentation https://github.com/chef/chef-provisioning-aws/blob/master/docs/examples/route53.rb, try it out and let us know what you think. We decided to model the record sets as resources rather than simply embed them as hashes (like security groups or route tables) because they complicated enough to warrant the validation that a resource provides.
- Added support for IAM roles and instance profiles. We do not have support for stand-alone IAM policies, but the aws_iam_role resource does support inline policies. See the example https://github.com/chef/chef-provisioning-aws/blob/efe7abf3d7048fe95678095688f69b87fab425f3/docs/examples/ref_full.rb#L252-L256 or resource documentation https://github.com/chef/chef-provisioning-aws/blob/efe7abf3d7048fe95678095688f69b87fab425f3/lib/chef/resource/aws_iam_role.rb#L30-L42 for information.
- Wait timers are now configurable! If your instances are taking more than 120 seconds to allocate, or machine images are taking more than 300 seconds to create you can now configure https://github.com/chef/chef-provisioning-aws#image_max_wait_time-and-machine_max_wait_time these wait timeouts.
- Lots of testing enhancements. We now run integration tests in Travis CI! Unfortunately, we used travis secrets to setup the credentials. These secrets are not decrypted on non-Chef org branches, so Travis tests will always fail for open source PRs. We’ll work on that in the future.
Please try it out and let us know of any issues!