Skip to content

Commit

Permalink
d/aws_msk_cluster: Test 'zookeeper_connect_string_tls'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Mar 22, 2022
1 parent 6eb86c9 commit 93d274a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/service/kafka/cluster_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func DataSourceCluster() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"zookeeper_connect_string_tls": {
Type: schema.TypeString,
Computed: true,
},
},
}
}
Expand Down
1 change: 1 addition & 0 deletions internal/service/kafka/cluster_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func TestAccKafkaClusterDataSource_basic(t *testing.T) {
resource.TestCheckResourceAttrPair(dataSourceName, "number_of_broker_nodes", resourceName, "number_of_broker_nodes"),
resource.TestCheckResourceAttrPair(dataSourceName, "tags.%", resourceName, "tags.%"),
resource.TestCheckResourceAttrPair(dataSourceName, "zookeeper_connect_string", resourceName, "zookeeper_connect_string"),
resource.TestCheckResourceAttrPair(dataSourceName, "zookeeper_connect_string_tls", resourceName, "zookeeper_connect_string_tls"),
),
},
},
Expand Down

0 comments on commit 93d274a

Please sign in to comment.