cookbook 'route53', '= 1.0.0'
The route53 cookbook has been deprecated
Author provided reason for deprecation:
The route53 cookbook has been deprecated and is no longer being maintained by its authors. Use of the route53 cookbook is no longer recommended.
You may find that the aws cookbook is a suitable alternative.
route53
(21) Versions
1.0.0
-
Follow32
Providces resources for managing Amazon Route53 DNS
cookbook 'route53', '= 1.0.0', :supermarket
knife supermarket install route53
knife supermarket download route53
route53 cookbook
Updates Amazon Web Service's Route 53 (DNS) service.
Requirements
Platforms
- all platforms where the aws-sdk works
Chef
- Chef 12.1+
Cookbooks
- none
Usage
include_recipe "route53" route53_record "create a record" do name "test" value "16.8.4.2" type "A" # The following are for routing policies weight "1" (optional) set_identifier "my-instance-id" (optional-must be unique) 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.
kitchen converge
ChefSpec Matcher
This Cookbook includes a Custom Matcher for testing the route53_record LWRP with ChefSpec.
To utilize this Custom Matcher use the following test your spec:
expect(chef_run).to create_route53_record('example.com')
Development Notes
A useful reference for the structure of the AWS route53 requests: http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets_Requests.html#API_ChangeResourceRecordSets_RequestBasicSyntax
And the relevant AWS-SDK doc: http://docs.aws.amazon.com/sdkforruby/api/Aws/Route53/Client.html#change_resource_record_sets-instance_method
License & Authors
Copyright:: 2011-2016, Heavy Water Software Copyright:: 2016, Chef Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
route53 Cookbook CHANGELOG
This file is used to list changes made in each version of the route53 cookbook.
1.0.0 (2016-09-16)
- Require Chef 12.1+
- Add ability to set weight and set_identifier so you can use a weighted
- Refactor to use the AWS gem instead of fog
- LWRP now auto installs the gem if it's not present. No need for the default recipe
- Add use_inline_resources to the provider
- Fixed wrong number of arguments bug.
- Remove librarian cheffile
- Add license file
- Add testing, contributing, and maintainers docs
- Change from Heavywater Software to Chef Software
- Add chef_version metadata
- Update Test Kitchen config
- Add standard testing Rakefile
v0.4.4
- update for continued Chef 11 support
- .gitignore update
v0.4.2
- fog version 1.37.0
- chef_gem compile_time false
- geo_location support
v0.4.0
- make "name" the name_attribute of a resource
- depends on xml to support installing nokogiri and fog dependency
v0.3.8
- allow for nokogiri version to be specified
v0.3.6
- proper support for serverspec tests
- make sure needed resource defaults are required
- fog require error
v0.3.5
- enhancements to supported TDD tools
- New Delete action available for record resource
- add aws secret token auth attribute support
- support mock record
- handle trailing dot on record names
- move nokogiri requires so they do not happen before chef_gem
v0.3.4
- change to attribute names in the build-essential dependency cookbook
v0.3.3
- support for alias records
- build-essential to correct fog build errors
- install specific fog version by setting attribute
- test-kitchen support and begin enhanced testing frameworks
v0.3.2
- Add missing "name" attribute to metadata
- install correct libxml2 and libxslt package names for rhel family
- allow multiple MX records (or records in general), passed as array
- Added IAM role support
- Use chef_gem resource for fog install
- correct working record creation and overwrite logic
Collaborator Number Metric
1.0.0 passed this metric
Foodcritic Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric