Parameter |
Choices/Defaults |
Comments |
alias
bool
(added in 1.9) |
|
Indicates if this is an alias record.
|
alias_evaluate_target_health
bool
(added in 2.1) |
|
Whether or not to evaluate an alias target health. Useful for aliases to Elastic Load Balancers.
|
alias_hosted_zone_id
(added in 1.9) |
|
The hosted zone identifier.
|
aws_access_key
|
|
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
aliases: ec2_access_key, access_key
|
aws_secret_key
|
|
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
aliases: ec2_secret_key, secret_key
|
ec2_url
|
|
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
|
failover
(added in 2.0) |
|
Failover resource record sets only. Whether this is the primary or secondary resource record set. Allowed values are PRIMARY and SECONDARY
|
health_check
(added in 2.0) |
|
Health check to associate with this record
|
hosted_zone_id
(added in 2.0) |
|
The Hosted Zone ID of the DNS zone to modify
|
identifier
(added in 2.0) |
|
Have to be specified for Weighted, latency-based and failover resource record sets only. An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.
|
overwrite
|
|
Whether an existing record should be overwritten on create if values do not match
|
private_zone
bool
(added in 1.9) |
|
If set to yes , the private zone matching the requested name within the domain will be used if there are both public and private zones. The default is to use the public zone.
|
profile
(added in 1.6) |
|
Uses a boto profile. Only works with boto >= 2.24.0.
|
record
required |
|
The full DNS record to create or delete
|
region
(added in 2.0) |
|
Latency-based resource record sets only Among resource record sets that have the same combination of DNS name and type, a value that determines which region this should be associated with for the latency-based routing
|
retry_interval
|
Default:
500
|
In the case that route53 is still servicing a prior request, this module will wait and try again after this many seconds. If you have many domain names, the default of 500 seconds may be too long.
|
security_token
(added in 1.6) |
|
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
aliases: access_token
|
state
required |
Choices:
- present
- absent
- get
- create
- delete
|
Specifies the state of the resource record. As of Ansible 2.4, the command option has been changed to state as default and the choices 'present' and 'absent' have been added, but command still works as well.
aliases: command
|
ttl
|
Default:
"3600 (one hour)"
|
The TTL to give the new record
|
type
required |
Choices:
- A
- CNAME
- MX
- AAAA
- TXT
- PTR
- SRV
- SPF
- CAA
- NS
- SOA
|
The type of DNS record to create
|
validate_certs
bool
(added in 1.5) |
|
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
|
value
|
|
The new value when creating a DNS record. YAML lists or multiple comma-spaced values are allowed for non-alias records.
When deleting a record all values for the record must be specified or Route53 will not delete it.
|
vpc_id
(added in 2.0) |
|
When used in conjunction with private_zone: true, this will only modify records in the private hosted zone attached to this VPC.
This allows you to have multiple private hosted zones, all with the same name, attached to different VPCs.
|
wait
bool
(added in 2.1) |
|
Wait until the changes have been replicated to all Amazon Route 53 DNS servers.
|
wait_timeout
(added in 2.1) |
Default:
300
|
How long to wait for the changes to be replicated, in seconds.
|
weight
(added in 2.0) |
|
Weighted resource record sets only. Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.
|
zone
required |
|
The DNS zone to modify
|