diff --git a/CHANGELOG.md b/CHANGELOG.md index cc28d0a..60e5ac4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log for Terraform AWS Kinesis Firehose Splunk +## v9.0.3 + * Added `var.kinesis_firehose_retry_duration` and `var.lambda_function_memory_size` with appropriate defaults. Thanks [@ranga543](https://github.com/ranga543). + ## v9.0.2 * Use data resource `aws_partition` to discern current partition for IAM policy so that it can work in AWS China or AWS Gov. diff --git a/README.md b/README.md index b6ec343..96b25b0 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,10 @@ As of v7.0.0, there are two additional options available to pass in the HEC toke | [kinesis\_firehose\_buffer\_interval](#input\_kinesis\_firehose\_buffer\_interval) | Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination | `number` | `300` | no | | [kinesis\_firehose\_iam\_policy\_name](#input\_kinesis\_firehose\_iam\_policy\_name) | Name of the IAM Policy attached to IAM Role for the Kinesis Firehose | `string` | `"KinesisFirehose-Policy"` | no | | [kinesis\_firehose\_lambda\_role\_name](#input\_kinesis\_firehose\_lambda\_role\_name) | Name of IAM Role for Lambda function that transforms CloudWatch data for Kinesis Firehose into Splunk compatible format | `string` | `"KinesisFirehoseToLambaRole"` | no | +| [kinesis\_firehose\_retry\_duration](#input\_kinesis\_firehose\_retry\_duration) | After an initial failure to deliver to Splunk, the total amount of time, in seconds between 0 to 7200, during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0 | `number` | `300` | no | | [kinesis\_firehose\_role\_name](#input\_kinesis\_firehose\_role\_name) | Name of IAM Role for the Kinesis Firehose | `string` | `"KinesisFirehoseRole"` | no | | [lambda\_function\_environment\_variables](#input\_lambda\_function\_environment\_variables) | Environment variables for the lambda function | `map(string)` | `{}` | no | +| [lambda\_function\_memory\_size](#input\_lambda\_function\_memory\_size) | Amount of memory in MB which Lambda Function can use at runtime. Defaults to 128 | `number` | `128` | no | | [lambda\_function\_name](#input\_lambda\_function\_name) | Name of the Lambda function that transforms CloudWatch data for Kinesis Firehose into Splunk compatible format | `string` | `"kinesis-firehose-transform"` | no | | [lambda\_function\_timeout](#input\_lambda\_function\_timeout) | The function execution time at which Lambda should terminate the function. | `number` | `180` | no | | [lambda\_iam\_policy\_name](#input\_lambda\_iam\_policy\_name) | Name of the IAM policy that is attached to the IAM Role for the lambda transform function | `string` | `"Kinesis-Firehose-to-Splunk-Policy"` | no |