You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "::error title=Terraform Output Empty::Terraform output for 'ecr_repository_url' was empty. Please check your Terraform configuration and ensure the output value 'ecr_repository_url' is correctly defined and populated after 'terraform apply'."
72
+
# Opcionalmente, puedes hacer que el job falle si esto es crítico
73
+
# exit 1
74
+
fi
75
+
76
+
# Verifica si la salida contiene "***" lo cual indicaste como un problema
77
+
if [[ "${TF_OUTPUT_ECR_URL}" == *"***"* ]]; then
78
+
echo "::warning title=Problematic ECR URL::The ECR Repository URL from Terraform output contains '***'. This usually indicates an issue with region resolution or configuration within your Terraform code."
79
+
echo "Problematic URL: ${TF_OUTPUT_ECR_URL}"
80
+
else
81
+
echo "INFO: The ECR Repository URL obtained seems structurally valid (does not contain '***')."
0 commit comments