|
|
@ -50,7 +50,7 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The type of DNS record to create
|
|
|
|
- The type of DNS record to create
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
choices: [ 'A', 'CNAME', 'MX', 'AAAA', 'TXT', 'PTR', 'SRV', 'SPF', 'NS' ]
|
|
|
|
choices: [ 'A', 'CNAME', 'MX', 'AAAA', 'TXT', 'PTR', 'SRV', 'SPF', 'NS', 'SOA' ]
|
|
|
|
alias:
|
|
|
|
alias:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Indicates if this is an alias record.
|
|
|
|
- Indicates if this is an alias record.
|
|
|
@ -343,7 +343,7 @@ def main():
|
|
|
|
hosted_zone_id = dict(required=False, default=None),
|
|
|
|
hosted_zone_id = dict(required=False, default=None),
|
|
|
|
record = dict(required=True),
|
|
|
|
record = dict(required=True),
|
|
|
|
ttl = dict(required=False, type='int', default=3600),
|
|
|
|
ttl = dict(required=False, type='int', default=3600),
|
|
|
|
type = dict(choices=['A', 'CNAME', 'MX', 'AAAA', 'TXT', 'PTR', 'SRV', 'SPF', 'NS'], required=True),
|
|
|
|
type = dict(choices=['A', 'CNAME', 'MX', 'AAAA', 'TXT', 'PTR', 'SRV', 'SPF', 'NS', 'SOA'], required=True),
|
|
|
|
alias = dict(required=False, type='bool'),
|
|
|
|
alias = dict(required=False, type='bool'),
|
|
|
|
alias_hosted_zone_id = dict(required=False),
|
|
|
|
alias_hosted_zone_id = dict(required=False),
|
|
|
|
alias_evaluate_target_health = dict(required=False, type='bool', default=False),
|
|
|
|
alias_evaluate_target_health = dict(required=False, type='bool', default=False),
|
|
|
|