Usage of ./dns-from-aws:
-awsregion="eu-west-1": The AWS region to connect to
-dnsttl=300: TTL for any DNS records created
-dnsupdate=60: How many seconds to sleep between updating DNS records from the host-list
-domainname="domain.com.": The DNS domain to use (including trailing '.')
-environmenttag="environment": Instance tag to derive the 'environment' from
-hostupdate=60: How many seconds to sleep between updating the list of hosts from AWS
-roletag="role": Instance tag to derive the 'role' from
AWS Credentials:
Credentials can either be derived from IAM & Instance-profiles, or from exported key-pairs: