Amazon Kinesis Data Firehose HTTP endpoint delivery was introduced to Firehose a week ago. This is a request to add http_endpoint_configuration
to aws_kinesis_firehose_delivery_stream
.
r/aws_kinesis_firehose_delivery_stream
resource "aws_kinesis_firehose_delivery_stream" "test_stream" {
name = "terraform-kinesis-firehose-test-stream"
destination = "http_endpoint"
s3_configuration { // Similar to implementation in splunk_configuration, this maps to HttpEndpointDestinationConfiguration.S3Configuration
role_arn = aws_iam_role.firehose.arn
bucket_arn = aws_s3_bucket.bucket.arn
buffer_size = 10
buffer_interval = 400
compression_format = "GZIP"
}
http_endpoint_configuration {
url = "https://api.example.com:443"
name = "MyHTTPEndpoint"
access_key = "my-key"
buffering_hints {
size_in_mb = 5
interval_in_seconds = 300
}
// cloudwatch_logging_options is CloudWatchLoggingOptions as used in s3_configuration
// processing_configuration is ProcessingConfiguration as used in extended_s3_configuration
role_arn = "arn:my_role"
s3_backup_mode = "FailedDataOnly"
}
}
https://docs.aws.amazon.com/firehose/latest/APIReference/API_CreateDeliveryStream.html#Firehose-CreateDeliveryStream-request-HttpEndpointDestinationConfiguration
I'd work on it for a few days if nobody else.
I hope I can open a PR then.
Please vote on the PR linked above to sort his out!
Initial support for this functionality has been merged and will release with version 3.15.0 of the Terraform AWS Provider, likely later next week. Thanks to @ZsoltPath for the implementation. 馃憤
This has been released in version 3.15.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
Most helpful comment
I'd work on it for a few days if nobody else.
I hope I can open a PR then.