create_txt_record
Adds or updates a Route 53 TXT record for DNS-01 challenges or domain verification, auto-quoting the value if needed.
Instructions
Upsert a Route 53 TXT record - e.g. for an ACME DNS-01 challenge (_acme-challenge., as used by issue_wildcard_cert) or domain verification. Quotes the value automatically if the caller didn't. Clean up afterward with delete_txt_record. For a CNAME pointing a domain at an upstream, use create_domain_record instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | DNS TTL in seconds | |
| value | Yes | TXT record value; wrapped in double quotes automatically if not already | |
| domain | Yes | Record name, e.g. _acme-challenge.mysite.julcap.net |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes | ||
| change_id | No | Route 53 change ID, useful for polling propagation status | |
| change_status | No | Route 53 change status, e.g. PENDING or INSYNC |