Skip to content

Commit b8d2561

Browse files
committed
fix: prod 아웃풋 추가
1 parent 952a0a7 commit b8d2561

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

terraform/prod/outputs.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,11 @@ output "rds_instance_address" {
4646
value = module.rds.rds_instance_address
4747
sensitive = true
4848
}
49+
50+
output "prod_s3_bucket_id" {
51+
value = module.s3.s3_bucket_id
52+
}
53+
54+
output "prod_s3_bucket_arn" {
55+
value = module.s3.s3_bucket_arn
56+
}

terraform/prod/s3/outputs.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ output "cloudfront_domain_name" {
22
value = aws_cloudfront_distribution.prod_cdn.domain_name
33
sensitive = true
44
}
5+
6+
output "s3_bucket_id" {
7+
value = aws_s3_bucket.prod.id
8+
}
9+
10+
output "s3_bucket_arn" {
11+
value = aws_s3_bucket.prod.arn
12+
}

0 commit comments

Comments
 (0)