Skip to content

Commit ef20029

Browse files
add bucket to eventsub outputs
1 parent a1ac91c commit ef20029

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

infrastructure/terraform/components/api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ No requirements.
7070
|------|-------------|
7171
| <a name="output_api_urll"></a> [api\_urll](#output\_api\_urll) | n/a |
7272
| <a name="output_deployment"></a> [deployment](#output\_deployment) | Deployment details used for post-deployment scripts |
73+
| <a name="output_s3_bucket_event_cache"></a> [s3\_bucket\_event\_cache](#output\_s3\_bucket\_event\_cache) | S3 Bucket ARN and Name for event cache |
7374
<!-- vale on -->
7475
<!-- markdownlint-enable -->
7576
<!-- END_TF_DOCS -->

infrastructure/terraform/components/api/outputs.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ output "deployment" {
1414
commit_id = var.commit_id
1515
}
1616
}
17+
18+
output "s3_bucket_event_cache" {
19+
description = "S3 Bucket ARN and Name for event cache"
20+
value = var.enable_event_cache ? {
21+
arn = module.s3bucket_event_cache[0].arn
22+
bucket = module.s3bucket_event_cache[0].bucket
23+
} : {}
24+
}

0 commit comments

Comments
 (0)