-
Notifications
You must be signed in to change notification settings - Fork 44
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
Route53 records optional? #62
Comments
BTW tested with
without luck since i have some |
I think I get what you asking but to be sure could you write up the example of how you're using the module. I can try to reproduce it locally. |
but it does not matter really. the thing is that the module tries to create a new txt entry in |
Ah so this is specifically related to the Route53 domain verification record. resource "aws_route53_record" "ses_verification" {
zone_id = var.route53_zone_id
name = "_amazonses.${aws_ses_domain_identity.main.id}"
type = "TXT"
ttl = "600"
records = concat([aws_ses_domain_identity.main.verification_token], var.extra_ses_records)
} So I think the answer is a conditional on the verification record. Would you need other records to be conditionally disabled as well. Like DKIM or MX send mail from? |
I believe not because you already added |
ah yes, I see what mean now. This is a bug. I'll have a PR up shortly to fix. |
Hello,
First of all thank you for this module.
I have an issue which is that sometimes you are dealing with the Route53 somewhere else and records already exist so it fails to create SES Route53 verification records because they are already in place. Is there any possibility you can update this module to either conditionally disable the creation of the records or have the possibility of using
lifecycle
to ignore changes?Thanks!
The text was updated successfully, but these errors were encountered: