Please consult the examples directory for reference example configurations. If you find a bug, please open an issue with supporting configuration to reproduce.
- Terraform AWS provider minimum supported version raised to
v5.0 - Terraform minimum supported version raised to
v1.0 broker_node_ebs_volume_sizehas been removed since theebs_volume_sizeargument was removed inv5.0of the AWS provider. Instead, storage settings should be configured using thebroker_node_storage_infovariable.client_authentication_*variables have been removed and replaced withclient_authenticationwhich supports the various authentication methods and configurations
- None
- Users can now utilize an externally created configuration by using the
create_configuration,configuration_arn, andconfiguration_revisionvariables.
- None
-
Removed variables:
broker_node_ebs_volume_size-> replaced bybroker_node_storage_infoclient_authentication_tls_certificate_authority_arns-> replaced byclient_authenticationclient_authentication_sasl_iam-> replaced byclient_authenticationclient_authentication_sasl_scram-> replaced byclient_authentication
-
Renamed variables:
- None
-
Added variables:
storage_modecreate_configurationconfiguration_arnconfiguration_revision
-
Removed outputs:
- None
-
Renamed outputs:
- None
-
Added outputs:
- None
Note: Only the relevant changes are shown for brevity
module "msk_kafka_cluster" {
source = "terraform-aws-modules/msk-kafka-cluster/aws"
version = "1.2"
broker_node_ebs_volume_size = 20
client_authentication_sasl_scram = true
tags = {
Blueprint = local.name
GithubRepo = "github.com/terraform-aws-modules/terraform-aws-msk-kafka-cluster"
}
}module "msk_kafka_cluster" {
source = "terraform-aws-modules/msk-kafka-cluster/aws"
version = "2.0"
broker_node_storage_info = {
ebs_storage_info = { volume_size = 20 }
}
client_authentication = {
sasl = { scram = true }
}
tags = {
Blueprint = local.name
GithubRepo = "github.com/terraform-aws-modules/terraform-aws-msk-kafka-cluster"
}
}module "msk_kafka_cluster" {
source = "terraform-aws-modules/msk-kafka-cluster/aws"
- version = "1.2"
+ version = "2.0"
- broker_node_ebs_volume_size = 20
+ broker_node_storage_info = {
+ ebs_storage_info = { volume_size = 20 }
+ }
- client_authentication_sasl_scram = true
+ client_authentication = {
+ sasl = { scram = true }
+ }
tags = {
Blueprint = local.name
GithubRepo = "github.com/terraform-aws-modules/terraform-aws-msk-kafka-cluster"
}
}No Terraform state manipulation is required for this upgrade.