Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-iconexamples
file-type-iconkinesis
file-type-iconmsk-with-iam-auth
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf
file-type-iconsns-sqs-connection
file-type-iconsns
file-type-iconsqs-lambda-connection
file-type-iconsqs
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconterraform-cloud-enterprise-private-module-...

Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-iconexamples
file-type-iconkinesis
file-type-iconmsk-with-iam-auth
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf
file-type-iconsns-sqs-connection
file-type-iconsns
file-type-iconsqs-lambda-connection
file-type-iconsqs
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconterraform-cloud-enterprise-private-module-...
Kinesis

Kinesis

Create Kinesis streams with configurable or auto-calculated shard and retention settings.

Code Preview

Preview the Code

mobile file icon

README.md

down

MSK Cluster With IAM Access Control

This folder shows an example of how to use the MSK module to deploy an MSK cluster using IAM access control.

Note that for security reasons, you can't turn on public access while creating an MSK cluster. For that reason, a separate bastion host is created with permissions to interact with the cluster. You can use the bastion_public_ip output variable to connect to the bastion host using a pre-created keypair specified in keypair_name.

How do you run this example?

To run this example, follow these steps:

Apply the Terraform templates:

  1. Install Terraform, minimum version 1.0.0.
  2. Open variables.tf, set the environment variables specified at the top of the file, and fill in any other variables that don't have a default.
  3. Run terraform init.
  4. Run terraform apply.

Connect to the Bastion Host

  1. Store the bastion_public_ip output (or run terraform output)
  2. Run ssh -i [yourprivatekey] ec2-user@[bastion_public_ip]

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?