-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Route 53 Records delete every apply #1264
Comments
Hey @wazoo – if you're not changing anything, then no this is not expected. Is this on 0.3.7? |
Yep.
I don't know if it matters but the zone is an "internal" zone that is attached to a VPC and it is not managed by terraform (because I can't do private zones with TF right now). |
@catsby This is really happening (even with latest It is possible to work around that, taking the example above: resource "aws_route53_record" "app_stage" {
zone_id = "${var.aws_hosed_zones.testing_internal}"
name = "app-stg.domain.com" # Notice the `.domain.com` here
type = "CNAME"
ttl = "120"
records = ["${aws_elb.lb_app.dns_name}"]
} |
Thanks @wazoo and @radeksimko ; #969 was well intended and a good idea I think, but so far it seems to be introducing more problems than the convenience is worth. I'm going to tinker with something this morning and discuss internally. |
Interesting, I see where you were going with 969, makes sense. I guess my issue here was that I can't manage the zone with TF yet (its internal only). I will use the FQDN for now, thats a pretty easy workaround. |
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. |
For some reason every time I run terraform apply it deletes all of the DNS records in the config and re-applies them, this creates a lot of blocking tasks.
My records aren't anything complicated, here is an example:
And this gives me (sanitized):
Is this expected behavior?
The text was updated successfully, but these errors were encountered: