Skip to content

Commit 26f47f8

Browse files
committed
feat(static-site)!: refactor cloudfront output variables
1 parent b9cdab7 commit 26f47f8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

static-site/outputs.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ output "deploy_role_arn" {
66
value = aws_iam_role.deploy_static_site.arn
77
}
88

9-
output "cloudfront_dist_id" {
10-
value = aws_cloudfront_distribution.static_site.id
11-
}
12-
13-
output "cloudfront_dist_domain_name" {
14-
value = aws_cloudfront_distribution.static_site.domain_name
15-
}
9+
output "cloudfront" {
10+
value = {
11+
id = aws_cloudfront_distribution.static_site.id
12+
domain_name = aws_cloudfront_distribution.static_site.domain_name
13+
aliases = aws_cloudfront_distribution.static_site.aliases
14+
}
15+
}

0 commit comments

Comments
 (0)