create_domain_record
Upsert a Route 53 CNAME record to point a domain at a target, ensuring DNS is ready before certificate issuance. Retry-safe and re-runnable.
Instructions
Upsert a Route 53 CNAME record pointing domain at target. Safe to call repeatedly - it's an upsert, not create-only. Run this before create_site / issue_cert and allow a few minutes for DNS propagation; issue_cert re-checks resolution itself, so it's safe to retry issue_cert if it reports the domain isn't resolving yet. For an ACME DNS-01 TXT challenge record, use create_txt_record instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | DNS TTL in seconds | |
| domain | Yes | The domain to create/update, e.g. mysite.julcap.net | |
| target | Yes | CNAME target the domain should point to, e.g. www.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 |