!!! This project has been deprecated. We recommend you search the Chef Supermarket for a supported alternative !!!
Installs AWS command line tools via AWS CLI Omnibus package
- Chef 10.x
Platform:
- CentOS 6.x
- RHEL 6.x
Add the aws_cli cookbook to your role/run_list.
node['aws_cli']['name'] - Name of the aws_cli package
node['aws_cli']['version'] - Version of aws_cli to install
Installs AWS CLI rpm.
Adds or updates a CNAME entry in the Route53 specified zone.
Attach EBS Volume
- default action:
:update_cname :update_cnameadds or updates a CNAME entry for the hostname value in the specified domain and hosted zone id
record - Name of the CNAME record to create/update. (:name attribute)
hostname - CNAME Record Hostname Value.
domain - Route53 Hosted Zone Domain Name Value
hosted_zone_id - Route53 Hosted Zone ID
region - AWS region
change_type - UPSERT (Default) | CREATE | DELETE
ttl - 60 (Default)
record_type - CNAME (Default) Currently only supports cnames
include_recipe 'aws_cli'
aws_cli_update_cname "mydb-record" do
hostname "ip-1.2.3.4.us-west-1.compute.internal"
domain "myapp.com"
region "us-west-1"
hosted_zone_id "Z234567"
end- default action:
:attach_ebs :attach_ebsattach an existing ebs volume to an instance.
volume_id - EBS volume ID (:name attribute)
instance_id - Instance id to attach volume to
region - AWS region
device - "/dev/xvdh" (Default)
include_recipe 'aws_cli'
aws_cli_attach_ebs "vol-123456" do
instance_id "i-1234567"
region "us-west-1"
device "/dev/xvdh"
end- Capen Brinkley (@capen)
- Grant Hoffman (@grantleehoffman)
