changed to take from aws-cookbooks