diff --git a/infra/cert.tf b/infra/cert.tf index 9dc1afb..b18761f 100644 --- a/infra/cert.tf +++ b/infra/cert.tf @@ -1,8 +1,12 @@ # Here is the TLS cert that we create for the alpha cluster resource "aws_acm_certificate" "sample" { - domain_name = "sample.project-athens.xyz" + domain_name = "*.project-athens.xyz" validation_method = "DNS" + + lifecycle { + create_before_destroy = true + } } resource "aws_acm_certificate_validation" "sample" {