Skip to content

Commit 628e2bd

Browse files
fix outputs
1 parent f5874da commit 628e2bd

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
output "bucket" {
2+
description = "The S3 bucket resource"
3+
value = aws_s3_bucket.this
4+
}
5+
6+
output "arn" {
7+
description = "The ARN of the S3 bucket"
8+
value = aws_s3_bucket.this.arn
9+
}

infrastructure/modules/storage/outputs.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ output "fixtures_read_only_policy_arn" {
55

66
output "fixtures_s3_bucket_arn" {
77
description = "The ARN of the S3 bucket for fixtures"
8-
value = aws_s3_bucket.fixtures.arn
8+
value = module.fixtures_bucket.arn
99
}
1010

1111
output "zappa_s3_bucket" {
1212
description = "The name of the S3 bucket for Zappa deployments"
13-
value = aws_s3_bucket.zappa
13+
value = module.zappa_bucket.bucket
1414
}
1515

1616
output "zappa_s3_bucket_arn" {
1717
description = "The ARN of the S3 bucket for Zappa deployments"
18-
value = aws_s3_bucket.zappa.arn
18+
value = module.zappa_bucket.arn
1919
}

0 commit comments

Comments
 (0)