hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.79k stars 9.14k forks source link

Have a flag to don't wait for Route53 DNS record syncronization. #22523

Closed skorobogatydmitry closed 8 months ago

skorobogatydmitry commented 2 years ago

Community Note

Description

Current aws_route53_record does wait for record set to be INSYNC. It's not a desirable behavior in some cases. Proposal is to have a flag to consider resource as created as soon as it's reached PENDING state.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_route53_record" "www" {
  zone_id = aws_route53_zone.primary.zone_id
  name    = "www.example.com"
  type    = "A"
  ttl     = "300"
  records = [aws_eip.lb.public_ip]
  wait_insync = false
}

This means that record will be decided as created as soon as API returns ChangeInfo object.

@iSignal @akjn-yb

github-actions[bot] commented 9 months ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

github-actions[bot] commented 7 months ago

I'm going to lock this issue because it has been closed for 30 days ā³. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.