msk-kafka-cluster
clowdhaus/msk-kafka-cluster/aws
Terraform module to create AWS MSK (Managed Streaming for Kafka) resources πΊπ¦
AWS MSK Kafka Cluster Terraform module Terraform module which creates AWS MSK (Managed Streaming for Kafka) resources.  Usage See examples directory for working examples to reference: ```hcl module "msk_kafka_cluster" { source = "terraform-aws-modules/msk-kafka-cluster/aws" name = local.name kafka_version = "3.5.1" number_of_broker_nodes = 3 enhanced_monitoring = "PER_TOPIC_PER_PARTITION" broker_node_client_subnets = ["subnet-12345678", "subnet-024681012", "subnet-87654321"] broker_node_storage_info = { ebs_storage_info = { volume_size = 100 } } broker_node_instance_type = "kafka.t3.small" broker_node_security_groups = ["sg-12345678"] encryption_in_transit_client_broker = "TLS" encryption_in_transit_in_cl
| Name | Type | Description | Default |
|---|---|---|---|
| schemas | map(any) | A map schemas to be created within the schema registry | {} |
| s3_logs_prefix | string | Prefix to append to the folder name | null |
| scaling_max_capacity | number | Max storage capacity for Kafka broker autoscaling | 250 |
| connect_worker_config_description | string | A summary description of the worker configuration | null |
| broker_node_connectivity_info | any | Information about the cluster access configuration | {} |
| timeouts | map(string) | Create, update, and delete timeout configurations for the cluster | {} |
| create_scram_secret_association | bool | Determines whether to create SASL/SCRAM secret association | false |
| cloudwatch_log_group_retention_in_days | number | Specifies the number of days you want to retain log events in the log group | 0 |
| broker_node_storage_info | any | A block that contains information about storage volumes attached to MSK broker n | {} |
| firehose_logs_enabled | bool | Indicates whether you want to enable or disable streaming broker logs to Kinesis | false |
| name | string | Name of the MSK cluster | "msk" |
| s3_logs_bucket | string | Name of the S3 bucket to deliver logs to | null |
| configuration_name | string | Name of the configuration | null |
| create_cluster_policy | bool | Determines whether to create an MSK cluster policy | false |
| enable_storage_autoscaling | bool | Determines whether autoscaling is enabled for storage | true |
| encryption_in_transit_in_cluster | bool | Whether data communication among broker nodes is encrypted. Default value: `true | null |
| broker_node_az_distribution | string | The distribution of broker nodes across availability zones ([documentation](http | null |
| s3_logs_enabled | bool | Indicates whether you want to enable or disable streaming broker logs to S3 | false |
| scram_secret_association_secret_arn_list | list(string) | List of AWS Secrets Manager secret ARNs to associate with SCRAM | [] |
| cloudwatch_log_group_kms_key_id | string | The ARN of the KMS Key to use when encrypting log data | null |
| β¦ and 10 more inputs | |||
bootstrap_brokers_sasl_iam β One or more DNS names (or IP addresses) and SASL IAM port pairs. This attribute will have a value ifbootstrap_brokers_public β Comma separated list of one or more hostname:port pairs of Kafka brokers suitable to bootstrap connescram_secret_association_id β Amazon Resource Name (ARN) of the MSK clusterappautoscaling_policy_policy_type β The scaling policy's typebootstrap_brokers_vpc_connectivity β Comma separated list of one or more hostname:port pairs of Kafka brokers suitable to bootstrap connezookeeper_connect_string_tls β A comma separated list of one or more hostname:port pairs to use to connect to the Apache Zookeeper configuration_latest_revision β Latest revision of the configurationlog_group_arn β The Amazon Resource Name (ARN) specifying the log groupbootstrap_brokers_tls β One or more DNS names (or IP addresses) and TLS port pairs. This attribute will have a value if `encbootstrap_brokers_public_sasl_scram β One or more DNS names (or IP addresses) and SASL SCRAM port pairscluster_uuid β UUID of the MSK cluster, for use in IAM policiesappautoscaling_policy_arn β The ARN assigned by AWS to the scaling policybootstrap_brokers_sasl_scram β One or more DNS names (or IP addresses) and SASL SCRAM port pairs. This attribute will have a value bootstrap_brokers_vpc_connectivity_tls β One or more DNS names (or IP addresses) and TLS port pairs for VPC connectivityconfiguration_arn β Amazon Resource Name (ARN) of the configurationschema_registries β A map of output attributes for the schema registries createdbootstrap_brokers_plaintext β Comma separated list of one or more hostname:port pairs of Kafka brokers suitable to bootstrap connebootstrap_brokers_vpc_connectivity_sasl_iam β One or more DNS names (or IP addresses) and SASL IAM port pairs for VPC connectivityschemas β A map of output attributes for the schemas createdappautoscaling_policy_name β The scaling policy's namearn β Amazon Resource Name (ARN) of the MSK clusterbootstrap_brokers β Comma separated list of one or more hostname:port pairs of Kafka brokers suitable to bootstrap connecluster_name β Name of the MSK clustercurrent_version β Current version of the MSK Cluster used for updates, e.g. `K13V1IB3VIYZZH`zookeeper_connect_string β A comma separated list of one or more hostname:port pairs to use to connect to the Apache Zookeeper vpc_connections β A map of output attributes for the VPC connections createdbootstrap_brokers_public_sasl_iam β One or more DNS names (or IP addresses) and SASL IAM port pairsbootstrap_brokers_vpc_connectivity_sasl_scram β One or more DNS names (or IP addresses) and SASL SCRAM port pairs for VPC connectivitybootstrap_brokers_public_tls β One or more DNS names (or IP addresses) and TLS port pairsconnect_custom_plugins β A map of output attributes for the connect custom plugins createdAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,