Skip to content

Commit

Permalink
disable cdn take 3
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Dec 10, 2024
1 parent 5d204bd commit 735ea76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions infra/frontend/service/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ output "service_endpoint" {
value = module.service.public_endpoint
}

output "cdn_endpoint" {
description = "The CDN endpoint for the service."
value = module.service.cdn_endpoint
}
# output "cdn_endpoint" {
# description = "The CDN endpoint for the service."
# value = module.service.cdn_endpoint
# }

output "service_cluster_name" {
value = module.service.cluster_name
Expand Down
8 changes: 4 additions & 4 deletions infra/modules/service/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ output "public_endpoint" {
value = var.enable_load_balancer ? "http://${aws_lb.alb[0].dns_name}" : null
}

output "cdn_endpoint" {
description = "The CDN endpoint for the service."
value = var.enable_cdn ? aws_cloudfront_distribution.cdn[0].domain_name : null
}
# output "cdn_endpoint" {
# description = "The CDN endpoint for the service."
# value = var.enable_cdn ? aws_cloudfront_distribution.cdn[0].domain_name : null
# }

output "cluster_name" {
value = aws_ecs_cluster.cluster.name
Expand Down

0 comments on commit 735ea76

Please sign in to comment.