File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ resource "aws_cloudfront_distribution" "cloudfront_distribution" {
7676 # PriceClass_All: 전세계
7777 price_class = " PriceClass_100"
7878
79- # fixme: CDN 도메인 설정
79+ # CDN 도메인 설정
8080 aliases = [var . cdn_domain ]
8181
8282 viewer_certificate {
8383 # cloudfront_default_certificate = true
84- # fixme: ACM 인증서 사용(CDN 도메인 설정) 시 아래 주석 해제
84+ # ACM 인증서 사용(CDN 도메인 설정) 시 아래 주석 해제
8585 acm_certificate_arn = aws_acm_certificate_validation. cdn_domain_cert_validation . certificate_arn
8686 ssl_support_method = " sni-only"
8787 minimum_protocol_version = " TLSv1.2_2021"
@@ -96,7 +96,6 @@ resource "aws_cloudfront_distribution" "cloudfront_distribution" {
9696# ACM 인증서
9797# #################
9898# CloudFront는 us-east-1 리전에 있어야 함
99- # fixme: CDN 도메인 설정 시 주석 해제
10099resource "aws_acm_certificate" "cdn_domain_cert" {
101100 provider = aws. us_east_1
102101 domain_name = var. cdn_domain
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ output "cloudfront_domain" {
3333# #################
3434# ACM 인증서 출력 (CDN 도메인 설정 시)
3535# #################
36- # fixme: CDN 도메인 설정 시 주석 해제
3736output "cdn_domain_cert_arn" {
3837 description = " ACM Certificate ARN"
3938 value = aws_acm_certificate. cdn_domain_cert . arn
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ variable "base_domain" {
2727 default = " relife.kr"
2828}
2929
30- # fixme: CDN 도메인 변수
3130variable "cdn_domain" {
3231 description = " cdn domain"
3332 type = string
You can’t perform that action at this time.
0 commit comments