Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Kinesis Firehose: Kinesis Data Source To S3

Basic Configuration in this directory creates kinesis firehose stream with Kinesis Data Stream as source and S3 bucket as destination with a basic configuration.

Usage

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

Requirements

Name Version
terraform >= 0.13.1
aws ~> 5.0
random ~> 3.0

Providers

Name Version
aws ~> 5.0
random ~> 3.0

Modules

Name Source Version
firehose ../../../ n/a
waf cloudposse/waf/aws 1.2.0

Resources

Name Type
aws_s3_bucket.s3 resource
random_pet.this resource

Inputs

Name Description Type Default Required
name_prefix Name prefix to use in resources string "waf-to-s3" no

Outputs

No outputs.