Skip to content

rgeyer-rs-cookbooks/route53

 
 

Repository files navigation

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

About

"Installs/Configures route53"

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%