Basic Configuration in this directory creates kinesis firehose stream with Kinesis Data Stream as source and S3 bucket as destination with a basic configuration.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which cost money. Run terraform destroy
when you don't need these resources.
Can use the following command to send records to Kinesis Data Stream.
aws kinesis put-record \
--stream-name $(terraform output -json | jq -r .kinesis_data_stream_name.value) \
--cli-binary-format raw-in-base64-out \
--data '{"user_id":"user1", "score": 100}' \
--partition-key 1
Name | Version |
---|---|
terraform | >= 0.13.1 |
aws | ~> 5.0 |
random | ~> 3.0 |
Name | Version |
---|---|
aws | ~> 5.0 |
random | ~> 3.0 |
Name | Source | Version |
---|---|---|
firehose | ../../../ | n/a |
waf | cloudposse/waf/aws | 1.2.0 |
Name | Type |
---|---|
aws_s3_bucket.s3 | resource |
random_pet.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name_prefix | Name prefix to use in resources | string |
"waf-to-s3" |
no |
No outputs.