Post

[Kinesis] Terraformでの動的パーティショニング設定

Problem

I found the example to use dynamic partitioning in Kinesis as below: aws_kinesis_firehose_delivery_stream | Resources | hashicorp/aws | Terraform Registry

This isn’t working. I got a error as below: Error: error creating Kinesis Firehose Delivery Stream: InvalidArgumentException: Dynamic Partitioning Namespaces can only be part of a prefix expression when Dynamic Partitioning is enabled.

Solution

You need to definite dynamic_partitioning_configuration as below:

extended_s3_configuration { dynamic_partitioning_configuration { enabled = "true" retry_duration = 300 } }
This post is licensed under CC BY 4.0 by the author.