Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions website/docs/r/route53_records_exclusive.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Terraform resource for maintaining exclusive management of resource record sets

~> The default `NS` and `SOA` records created during provisioning of the Route53 Zone __should not be included__ in this resource definition. Adding them will cause persistent drift as the read operation is explicitly configured to ignore writing them to state.

~> **API request limits:** All record set changes produced by a single `apply` are sent in one `ChangeResourceRecordSets` request. AWS limits a single request to **1,000 `ResourceRecord` elements**, and each element is **counted twice** when the change action is `UPSERT` (the action used for modifications to existing records). See the [Route 53 API request limits](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-requests) for details. This resource does not split changes across multiple requests, so an apply that exceeds these limits will fail. The limit applies to the diff against the live hosted zone, not the total number of records managed — a resource managing thousands of records steady-state is fine as long as any single apply stays within the per-request limit.
Comment thread
oycyc marked this conversation as resolved.
Outdated

*Example: a resource managing 2,000 records where a single `apply` only modifies 10 of them will send 10 `UPSERT` changes (20 elements counted) and succeed. But attempting to create all 2,000 records in the initial `apply` sends 2,000 `CREATE` elements in one request and will be rejected. Similarly, modifying 600 existing records in a single `apply` produces 600 `UPSERT` changes counted as 1,200 elements and will also be rejected.*
Comment thread
oycyc marked this conversation as resolved.
Outdated

## Example Usage

### Basic Usage
Expand Down
Loading