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_size
has been removed since theebs_volume_size
argument was removed inv5.0
of the AWS provider. Instead, storage settings should be configured using thebroker_node_storage_info
variable.client_authentication_*
variables have been removed and replaced withclient_authentication
which supports the various authentication methods and configurations
- None
- Users can now utilize an externally created configuration by using the
create_configuration
,configuration_arn
, andconfiguration_revision
variables.
- None
-
Removed variables:
broker_node_ebs_volume_size
-> replaced bybroker_node_storage_info
client_authentication_tls_certificate_authority_arns
-> replaced byclient_authentication
client_authentication_sasl_iam
-> replaced byclient_authentication
client_authentication_sasl_scram
-> replaced byclient_authentication
-
Renamed variables:
- None
-
Added variables:
storage_mode
create_configuration
configuration_arn
configuration_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.