Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 1f3c0f1

Browse files
authored
Output Kinesis Firehose ARN (#1)
* Output Kinesis Firehose ARN * Update Readme * Update Readme * Update Readme * Update Readme
1 parent 0ba95e7 commit 1f3c0f1

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@ module "my_firehose" {
2525
}
2626
```
2727

28+
## Inputs
29+
30+
| Name | Description | Type | Default | Required |
31+
|------|-------------|:----:|:-----:|:-----:|
32+
| account\_id | AWS account ID | string | n/a | yes |
33+
| name | Name of the firehose | string | n/a | yes |
34+
| destination | Kinesis Firehose Destination | string | `"s3"` | no |
35+
| enable | Enable firehose | string | `"1"` | no |
36+
| region | AWS region | string | `"eu-west-1"` | no |
37+
| s3\_configuration | AWS S3 configuration | map | `<map>` | no |
38+
39+
## Outputs
40+
41+
| Name | Description |
42+
|------|-------------|
43+
| arn | ARN of the Kinesis Firehose |
44+
2845
## Authors
2946

3047
Module managed by [Comtravo](https://github.com/comtravo).

main.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ variable region {
1919
}
2020

2121
variable destination {
22-
default = "s3"
22+
default = "s3"
23+
description = "Kinesis Firehose Destination"
2324
}
2425

2526
variable s3_configuration {
@@ -128,3 +129,8 @@ resource "aws_kinesis_firehose_delivery_stream" "stream" {
128129
}
129130
}
130131
}
132+
133+
output "arn" {
134+
value = "${aws_kinesis_firehose_delivery_stream.stream.arn}"
135+
description = "ARN of the Kinesis Firehose"
136+
}

0 commit comments

Comments
 (0)