The SOA record is part of each Rounte53 zone. It is created automatically and cannot be deleted, it can only be updated.
Existing solution to update SOA is to import this resource into aws_route53_record, but this is possible only after the zone is created, so it cannot be done within the same terraform apply run, making it cumbersome.
Affected Resource(s) and/or Data Source(s)
aws_route53_zone
aws_route53_record
Potential Terraform Configuration
Either add block to aws_route53_zone or create new resource which will behave similar to eg. aws_default_route_table
eg
resource "aws_route53_zone" "myzone" {
name = "${each.key}.rossum-ext.app."
soa = {
refresh = 7200
negative_ttl = 123
...
}
}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
The SOA record is part of each Rounte53 zone. It is created automatically and cannot be deleted, it can only be updated.
Existing solution to update SOA is to import this resource into
aws_route53_record
, but this is possible only after the zone is created, so it cannot be done within the sameterraform apply
run, making it cumbersome.Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
Either add block to
aws_route53_zone
or create new resource which will behave similar to eg.aws_default_route_table
eg
or
References
No response
Would you like to implement a fix?
No