Skip to content

Commit 3f79875

Browse files
[PRMP-579] add indexing to cloudfront module outputs
1 parent fb4cb9c commit 3f79875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
output "cloudfront_url" {
2-
value = aws_cloudfront_distribution.distribution.domain_name
2+
value = aws_cloudfront_distribution.distribution[0].domain_name
33
}
44

55
output "cloudfront_arn" {
66
description = "The ARN of the CloudFront Distribution"
7-
value = aws_cloudfront_distribution.distribution.arn
7+
value = aws_cloudfront_distribution.distribution[0].arn
88
}

0 commit comments

Comments
 (0)