2 Answers
- Newest
- Most votes
- Most comments
0
You are correct. We will support Configurations in CloudFormation soon. Until then you can create a configuration in MSK and then use the configuration ARN in your CloudFormation scripts.
answered 5 years ago
0
You can create MSK::Configuration in cloudformation now like:
MskConfiguration:
Type: "AWS::MSK::Configuration"
Properties:
Description: !Sub "${EnvironmentName}-${EnvironmentShard}-msk-cluster-configuration"
Name: !Sub "${EnvironmentName}-${EnvironmentShard}-msk-cluster-configuration"
KafkaVersionsList: [2.8.1]
ServerProperties: |
auto.create.topics.enable=false
default.replication.factor=2
and associate to the cluster with
MSKCluster:
Type: 'AWS::MSK::Cluster'
Properties:
ClusterName: !Sub "${EnvironmentName}-${EnvironmentShard}-msk-cluster"
KafkaVersion: 2.8.1
NumberOfBrokerNodes: 1
ConfigurationInfo:
Arn: !Ref MskConfiguration
Revision: 1
...
answered 2 years ago
Relevant content
- asked 10 months ago
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago