Skip to content

Commit

Permalink
fixup! Add MSKServerless Configration
Browse files Browse the repository at this point in the history
  • Loading branch information
moremagic committed Jul 7, 2022
1 parent fff12a4 commit 9fdb962
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/service/kafka/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2280,13 +2280,15 @@ resource "aws_msk_cluster" "test" {
provisioned {
kafka_version = "2.7.1"
number_of_broker_nodes = 3
broker_node_group_info {
client_subnets = [aws_subnet.example_subnet_az1.id, aws_subnet.example_subnet_az2.id, aws_subnet.example_subnet_az3.id]
ebs_volume_size = 10
instance_type = "kafka.m5.large"
security_groups = [aws_security_group.example_sg.id]
}
}
tags = {
%[2]q = %[3]q
}
Expand All @@ -2296,21 +2298,22 @@ resource "aws_msk_cluster" "test" {

func testAccClusterConfig_tags2(rName, tagKey1, tagValue1, tagKey2, tagValue2 string) string {
return acctest.ConfigCompose(testAccClusterBaseConfig(rName), fmt.Sprintf(`
resource "aws_msk_cluster" "test" {
cluster_name = %[1]q
cluster_type = "PROVISIONED"
provisioned {
kafka_version = "2.7.1"
number_of_broker_nodes = 3
broker_node_group_info {
client_subnets = [aws_subnet.example_subnet_az1.id, aws_subnet.example_subnet_az2.id, aws_subnet.example_subnet_az3.id]
ebs_volume_size = 10
instance_type = "kafka.m5.large"
security_groups = [aws_security_group.example_sg.id]
}
}
tags = {
%[2]q = %[3]q
%[4]q = %[5]q
Expand Down

0 comments on commit 9fdb962

Please sign in to comment.