Skip to content

Commit 76581b7

Browse files
committed
fix: make route53 records depend on acm certificate
1 parent f64693a commit 76581b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/acm/main.tf

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ resource "aws_route53_record" "this" {
4949
records = [each.value.value]
5050
ttl = 60
5151
allow_overwrite = var.record_allow_overwrite
52+
53+
depends_on = [aws_acm_certificate.this]
5254
}
5355

5456
resource "aws_acm_certificate_validation" "this" {

0 commit comments

Comments
 (0)