msk-cluster

angelabad/msk-cluster/aws

Terraform Module HCL AWS

Terraform module which creates Msk Kafka Cluster on AWS

Install
module "msk-cluster" {
source = "angelabad/msk-cluster/aws"
version = "0.5.2"
}
plain text: /constructs/tfmod-angelabad-msk-cluster-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS Msk Kafka Cluster ![GitHub tag (latest by date)](https://github.com/angelabad/terraform-aws-msk-cluster/releases) ![Msk Kafka Cluster](https://app.circleci.com/pipelines/github/angelabad/terraform-aws-msk-cluster) Terraform module which creates Msk Kafka Cluster on AWS. These types of resources are supported: Aws Msk Cluster Aws Msk Configuration Features This module create a fully featured Msk Kafka Cluster on Aws. You could configure monitoring, encryption, server options, etc... Usage ``hcl module "msk-cluster" { source = "angelabad/msk-cluster/aws" cluster_name = "kafka" instance_type = "kafka.t3.small" number_of_nodes = 2 client_subnets = ["subnet-0ab97cbe1bd1406c2", "subnet-0d6cbf60360dbac64"] kafka_version = "2.6.2" extra_security_groups = ["sg-019fc0f7d26f6c70f"] enhanced_monit

Inputs (24)
NameTypeDescriptionDefault
client_subnetslist(string)A list of subnets to connect to in client VPC required
number_of_nodesnumberThe desired total number of broker nodes in the kafka cluster. It must be a mult required
cluster_namestringName of the MSK cluster. required
instance_typestringSpecify the instance type to use for the kafka brokers. e.g. kafka.m5.large. required
kafka_versionstringSpecify the desired Kafka software version. required
encryption_at_rest_kms_key_arnstringYou may specify a KMS key short ID or ARN (it will always output an ARN) to use ""
cloudwatch_logs_groupstringName of the Cloudwatch Log Group to deliver logs to.""
volume_sizenumberThe size in GiB of the EBS volume for the data drive on each broker node.1000
encryption_in_transit_client_brokerstringEncryption setting for data in transit between clients and brokers. Valid values"TLS_PLAINTEXT"
s3_logs_bucketstringName of the S3 bucket to deliver logs to.""
prometheus_node_exporterboolIndicates whether you want to enable or disable the Node Exporter.false
encryption_in_transit_in_clusterboolWhether data communication among broker nodes is encrypted. Default value: true.true
tagsmap(string)A mapping of tags to assign to the resource.{}
s3_logs_prefixstringPrefix to append to the folder name.""
firehose_logs_delivery_streamstringName of the Kinesis Data Firehose delivery stream to deliver logs to.""
client_authentication_unauthenticated_enabledboolEnables unauthenticated access.false
client_authentication_tls_certificate_authority_arnslist(string)List of ACM Certificate Authority Amazon Resource Names (ARNs).[]
extra_security_groupslist(string)A list of extra security groups to associate with the elastic network interfaces[]
enhanced_monitoringstringSpecify the desired enhanced MSK CloudWatch monitoring level to one of three mon"DEFAULT"
prometheus_jmx_exporterboolIndicates whether you want to enable or disable the JMX Exporter.false
server_propertiesmap(string)A map of the contents of the server.properties file. Supported properties are do{}
client_authentication_sasl_iam_enabledboolEnables IAM client authentication.false
client_authentication_sasl_scram_secrets_arnslist(string)Associates SCRAM secrets stored in the Secrets Manager. You need [secret policy][]
provisioned_volume_throughputnumberThroughput value of the EBS volumes for the data drive on each kafka broker nodenull
Outputs (11)
bootstrap_brokers — A comma separated list of one or more hostname:port pairs of kafka brokers suitable to boostrap con
bootstrap_brokers_tls — A comma separated list of one or more DNS names (or IPs) and TLS port pairs kafka brokers suitable t
bootstrap_brokers_sasl_scram — A comma separated list of one or more DNS names (or IPs) and TLS port pairs kafka brokers suitable t
bootstrap_brokers_sasl_iam — A comma separated list of one or more DNS names (or IPs) and TLS port pairs kafka brokers suitable t
current_version — Current version of the MSK Cluster used for updates, e.g. K13V1IB3VIYZZH
encryption_at_rest_kms_key_arn — The ARN of the KMS key used for encryption at rest of the broker data volumes.
default_security_group — Msk cluster default security group id.
extra_security_groups — Msk cluster extra security group ids.
zookeeper_connect_string — A comma separated list of one or more hostname:port pairs to use to connect to the Apache Zookeeper
cluster_name — Msk cluster name
arn — Amazon Resource Name (ARN) of the MSK cluster.
Resources (6)
aws_msk_clusteraws_msk_configurationaws_msk_scram_secret_associationaws_security_groupaws_security_group_rulerandom_id
Details
FrameworkTerraform Module
LanguageHCL
Version0.5.2
Cloud AWS
★ Stars30
Forks33
Total downloads98.0k
Inputs24
Outputs11
Resources6
Examples2
LicenseApache-2.0
Namespaceangelabad
Updated