Skip to content

Commit 4b41e5c

Browse files
Add depends_on for validation in main.tf
To fix error validating acm vs route53 when not available yet.
1 parent e476574 commit 4b41e5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,6 @@ resource "aws_acm_certificate_validation" "this" {
7676
timeouts {
7777
create = var.validation_timeout
7878
}
79+
80+
depends_on = [aws_route53_record.validation]
7981
}

0 commit comments

Comments
 (0)