/tf-aws-confluent

Sample project with AWS and Confluent Cloud resources

Primary LanguageHCL

Introduction

Generator for:

  • AWS VPC and Subnets
  • AWS MSK
  • Confluent Cloud Network with PrivateLink
  • AWS VPC Endpoint
  • Confluent Cloud Private Dedicated Cluster
  • Confluent Cloud Schema Registry

Prerequisites

  • Confluent environment
  • Confluent Cloud Service Account with API Key and API Secret
  • AWS Access Key and AWS Secret Key

terraform.tfvars

aws_region  = "eu-west-1"
owner_email = "user@example.com"
owner       = "user"
/* Confluent Cloud */
confluent_cloud_api_key    = "xxx"
confluent_cloud_api_secret = "xxx"
confluent_env              = "env-xxx"
confluent_sa               = "sa-xxx"

Running

terraform init
terraform validate
terraform plan -var-file=terraform.tfvars
terraform apply

PrivateLink Route53 Setup

DNS is not automatically generated by the Terraform script. Look at to know how to configure Route53 here.