Skip to content

provider fails to update enable_accelerated_recovery in route53 hosted zone #45452

@vchepkov

Description

@vchepkov

Terraform and AWS Provider Version

Terraform v1.14.1

Affected Resource(s) or Data Source(s)

resource aws_route53_zone

Expected Behavior

Added attribute enable_accelerated_recovery aws_route53_zone resource that uses

for_each = toset(var.public_zones)

Expected zones to be updated

Actual Behavior

apply failed with the following messages:

Error: updating Route53 Hosted Zone (XXX) accelerated recovery: updating Route53 Hosted Zone (XXX) accelerated recovery: operation error Route 53: UpdateHostedZoneFeatures, https response error StatusCode: 400, RequestID: xxx, LimitsExceeded: Accelerated recovery can only be updated for 1 hosted zone at a time

Relevant Error/Panic Output

Sample Terraform Configuration

resource "aws_route53_zone" "public_zones" {
  for_each = toset(var.public_zones)
  name     = each.key

  delegation_set_id           = aws_route53_delegation_set.public.id
  enable_accelerated_recovery = true

  lifecycle {
    prevent_destroy = true
  }
}

Steps to Reproduce

no special steps, regular terraform init/apply

Debug Logging

Click to expand log output

GenAI / LLM Assisted Development

n/a

Important Facts and References

No response

Would you like to implement a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAddresses a defect in current functionality.needs-triageWaiting for first response or review from a maintainer.service/route53Issues and PRs that pertain to the route53 service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions