From 4b41e5cb39233264605826e468e43d251644b4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?thetechoddbug=20=28Jos=C3=A9=20Mar=C3=ADa=20Guti=C3=A9rrez?= =?UTF-8?q?=29?= Date: Wed, 26 Nov 2025 16:43:27 +0100 Subject: [PATCH] Add depends_on for validation in main.tf To fix error validating acm vs route53 when not available yet. --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index 344943b..09c26e4 100644 --- a/main.tf +++ b/main.tf @@ -76,4 +76,6 @@ resource "aws_acm_certificate_validation" "this" { timeouts { create = var.validation_timeout } + + depends_on = [aws_route53_record.validation] }