- Added resource
"aws_cloudwatch_log_group" "firehose_lambda_transform"
for transform Lamdba logs
- Added
var.kinesis_firehose_retry_duration
andvar.lambda_function_memory_size
with appropriate defaults. Thanks @ranga543.
- Use data resource
aws_partition
to discern current partition for IAM policy so that it can work in AWS China or AWS Gov.
- Fix #39 - Syntax error: Cannot use import statement outside a module. Added
package.json
file. - Added
.vscode
to.gitignore
file.
- Fix #36 - AWS SDK v3.x is what is packaged with
nodejs18.x
runtime. Updating Lambda code for NodeJS AWS SDK v3.x. - The Lambda code update is a breaking change because some users may still be on
nodejs16.x
runtime which uses NodeJS AWS SDK v2.x, per this documentation. - Bumping default runtime to
nodejs20.x
since this runtime version uses the same AWS SDK v3.x version asnodejs18.x
.
- Fix #34 - Add documentation note in README.md for Splunk Cloud customers. Thanks@out-of-mana
- Fix #32 - Enable Cloudwatch Logs Access From Multiple Regions.
var.region
is now Deprecated. Thanks @bogdannazarenko - Expose Lambda environment variables. Thanks @tlopo.
- Change
var.name_cloudwatch_logs_to_ship
to be non-mandatory. It will now default tonull
and the subscription filter will not be created if it isnull
. Seevar.cloudwatch_log_group_names_to_ship
to create subscription filters to multiple log groups. - Fix #27 - Add
var.cloudwatch_log_group_names_to_ship
to allow creating subscription filters to multiple log groups. - Fix #28 - Change
var.arn_cloudwatch_logs_to_ship
to be non-mandatory. The ARN will now be derived automatically ifvar.name_cloudwatch_logs_to_ship
is used (notnull
). - Update README.md with variable changes, and a new description for
var.cloudwatch_logs_to_ship
.
- Requires
>= 5.0.0, < 6.0.0
of the terraform aws provider - Updated default value of
var.nodejs_runtime
tonodejs18.x
- Updated
files\kinesis-firehose-cloudwatch-logs-processor.js
to latest version of AWS blueprint function code - Fix the resource
aws_kinesis_firehose_delivery_stream
to make it AWS provider v5 compliant - Fix s3 bucket ownership with new resource
aws_s3_bucket_ownership_controls
- Added
var.lambda_processing_buffer_interval_in_seconds
- Set default to
0.256
forvar.lambda_processing_buffer_size_in_mb
- Improved formatting of README.md
- Breaking Change - Removed
var.kms_key_arn
- Update README.md with
terraform-docs
- Created Github actions pipelines
- Support for SSE for the Kinesis Firehose
- Added
reserved_concurrent_executions
parameter to Lambda function - Added
var.lambda_processing_buffer_size_in_mb
to optionally configure the parameterBufferSizeInMBs
in the Kinesis Firehose - Updated all variables to specify
type
- Require less than version
5.0.0
of the AWS provider - Created NOTICE file
- Fix #19 - Support for S3 bucket Versioning, support for Object Locking, support for s3 bucket lifecycles
- Fix #18 - Allow the HEC token to be passed in via a new variable,
var.managed_hec_token
, allowing the user to encrypt it as they wish, perhaps via SSM Parameter Store or SOPS
- Requires
>= 4.0.0
of the AWS provider; merged in S3 changes - Update README for the correct location of
aws_kms_secrets
usage example - Added
*.zip
to.gitignore
file
- Update license
- Update description for
var.local_lambda_file
; it does not have to be a NodeJS file
- Fix #10 - Support custom Lambda script, as well as the
handler
for the custom code
- Require
>= 3.58.0
of the aws provider (fixes issue with privisioning a NodeJS 12.x Lambda)
- Update README with
region
variable in the example
- Remove mention of
aws_region
input variable in README.md. This variable is no longer needed.
- Require Terraform 1.0.0 or greater (drops support for versions lower than 1.0.0)
- Fix #7 - Remove provider block, which is also recommended by Terraform as discussed here
4.0.0 - Breaking Changes - (thanks ShawnUCD)
- Require Terraform 0.13.0 or greater. Terraform 0.12.x is not longer being developed or patched (including backports) by Hashicorp
- New providers block that is supported by Terraform 0.13.x and higher
- Fixed typo in the
resource "aws_iam_role_policy_attachment" "kenisis_fh_role_attachment"
resource inmain.tf
- Added
outputs.tf
3.0.0 - Breaking Change - (thanks phundisk)
- Remove default value for S3 Backup Bucket; this input is now required as S3 bucket names must be globally unique so having a default value was N/A anyway
- Remove region from resource aws_s3_bucket as that is not an parameter in the latest aws provider
- Adjust the module to be able to support for TF 13
- Update to the README to add information on hec_token encryption_context and that s3_bucket_name is required
- Add version lock to min AWS provider since the aws_s3_bucket resource region was always optional anyways
- Add new resource aws_s3_bucket_public_access_block which can be enabled optionally via TF variable
- Upgrade lambda to
node12.x
runtime (thanks kevinkuszyk) - Add latest javascript from the lambda blueprint (thanks kevinkuszyk)
- Update README
- Upgraded for Terraform 12 compatibility (thanks kevinkuszyk)
- Added git ignore file
- Initial release