ec2 inventory: Add the ability to group instances by Route 53 domain

names.
This commit is contained in:
Herby Gillot
2013-09-23 14:00:56 -04:00
parent cb200b0768
commit 91785ba045
2 changed files with 72 additions and 4 deletions

View File

@@ -34,6 +34,14 @@ destination_variable = public_dns_name
# be run from with EC2.
vpc_destination_variable = ip_address
# To tag instances on EC2 with the resource records that point to them from
# Route53, uncomment and set 'route53' to True.
#
# Optionally, you can specify the list of zones to exclude looking up in
# 'route53_excluded_zones' as a comma-seperated list.
route53 = False
route53_excluded_zones =
# API calls to EC2 are slow. For this reason, we cache the results of an API
# call. Set this to the path you want cache files to be written to. Two files
# will be written to this directory:
@@ -44,6 +52,3 @@ cache_path = /tmp
# The number of seconds a cache file is considered valid. After this many
# seconds, a new API call will be made, and the cache file will be updated.
cache_max_age = 300