Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 769 Bytes

README.md

File metadata and controls

45 lines (33 loc) · 769 Bytes

Description

Updates Amazon Web Service's Route 53 (DNS) service.

Requirements

An Amazon Web Services account and a Route 53 zone.

Usage

include_recipe "route53"

route53_record "create a record" do
  name  "test"
  value "16.8.4.2"
  type  "A"
  zone_id               node[:route53][:zone_id]
  aws_access_key_id     node[:route53][:aws_access_key_id]
  aws_secret_access_key node[:route53][:aws_secret_access_key]
  overwrite true
  action :create
end

NOTE: If you do not specify aws credentials, it will attempt to use the AWS IAM Role assigned to the instance instead.

Testing

bundle install

librarian-chef install

Edit .kitchen.yml and update attribute values.

kitchen converge