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

Commit

Permalink
Output Kinesis Firehose ARN (#1)
Browse files Browse the repository at this point in the history
* Output Kinesis Firehose ARN

* Update Readme

* Update Readme

* Update Readme

* Update Readme
  • Loading branch information
Puneeth-n authored Apr 15, 2020
1 parent 0ba95e7 commit 1f3c0f1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,23 @@ module "my_firehose" {
}
```

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| account\_id | AWS account ID | string | n/a | yes |
| name | Name of the firehose | string | n/a | yes |
| destination | Kinesis Firehose Destination | string | `"s3"` | no |
| enable | Enable firehose | string | `"1"` | no |
| region | AWS region | string | `"eu-west-1"` | no |
| s3\_configuration | AWS S3 configuration | map | `<map>` | no |

## Outputs

| Name | Description |
|------|-------------|
| arn | ARN of the Kinesis Firehose |

## Authors

Module managed by [Comtravo](https://github.com/comtravo).
Expand Down
8 changes: 7 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ variable region {
}

variable destination {
default = "s3"
default = "s3"
description = "Kinesis Firehose Destination"
}

variable s3_configuration {
Expand Down Expand Up @@ -128,3 +129,8 @@ resource "aws_kinesis_firehose_delivery_stream" "stream" {
}
}
}

output "arn" {
value = "${aws_kinesis_firehose_delivery_stream.stream.arn}"
description = "ARN of the Kinesis Firehose"
}

0 comments on commit 1f3c0f1

Please sign in to comment.