Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 CDN and ALB CDN #3468

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions infra/api/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ module "service" {
max_capacity = local.service_config.instance_scaling_max_capacity
min_capacity = local.service_config.instance_scaling_min_capacity
enable_autoscaling = true
enable_s3_cdn = true
s3_cdn_bucket_name = "public-files"
cpu = local.service_config.instance_cpu
memory = local.service_config.instance_memory
environment_name = var.environment_name
Expand Down
2 changes: 1 addition & 1 deletion infra/frontend/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ module "service" {
cpu = local.service_config.instance_cpu
memory = local.service_config.instance_memory
enable_autoscaling = true
enable_cdn = true
enable_alb_cdn = true

app_access_policy_arn = null
migrator_access_policy_arn = null
Expand Down
88 changes: 0 additions & 88 deletions infra/modules/service/cdn-logs.tf

This file was deleted.

116 changes: 0 additions & 116 deletions infra/modules/service/cdn.tf

This file was deleted.

Loading