Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,5 @@ output "cloudfront_domain" {

output "custom_domain_setup" {
description = "Instructions for custom domain setup"
value = var.domain_name != "" && var.acm_certificate_arn == "" ? <<-EOT
⚠️ Custom domain set but no ACM certificate provided!

To enable HTTPS on ${var.domain_name}:
1. Create ACM certificate in us-east-1 for ${var.domain_name}
2. Add certificate ARN to GitHub secrets as ACM_CERTIFICATE_ARN
3. Re-deploy

DNS: Point ${var.domain_name} CNAME to ${aws_cloudfront_distribution.frontend.domain_name}
EOT : null
value = var.domain_name != "" && var.acm_certificate_arn == "" ? "WARNING: Custom domain set but no ACM certificate. Add ACM_CERTIFICATE_ARN secret." : null
}
Loading