You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: website/docs/d/msk_cluster.html.markdown
+3-2
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,9 @@ data "aws_msk_cluster" "example" {
23
23
The following arguments are supported:
24
24
25
25
*`cluster_name` - (Required) Name of the cluster.
26
+
*`cluster_type` - (Required) Type of the MSK cluster. Valid values: PROVISIONED, SERVERLESS.
27
+
*`provisioned` - (Optional) Configuration block for the provisioned type of the Kafka cluster.
28
+
*`serverless` - (Optional) Configuration block for the serverless type of the Kafka cluster.
26
29
27
30
## Attribute Reference
28
31
@@ -36,8 +39,6 @@ In addition to all arguments above, the following attributes are exported:
36
39
*`bootstrap_brokers_sasl_iam` - One or more DNS names (or IP addresses) and SASL IAM port pairs. For example, `b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9098,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9098,b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9098`. This attribute will have a value if `encryption_info.0.encryption_in_transit.0.client_broker` is set to `TLS_PLAINTEXT` or `TLS` and `client_authentication.0.sasl.0.iam` is set to `true`. The resource sorts the list alphabetically. AWS may not always return all endpoints so the values may not be stable across applies.
37
40
*`bootstrap_brokers_sasl_scram` - One or more DNS names (or IP addresses) and SASL SCRAM port pairs. For example, `b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096,b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9096`. This attribute will have a value if `encryption_info.0.encryption_in_transit.0.client_broker` is set to `TLS_PLAINTEXT` or `TLS` and `client_authentication.0.sasl.0.scram` is set to `true`. The resource sorts the list alphabetically. AWS may not always return all endpoints so the values may not be stable across applies.
38
41
*`bootstrap_brokers_tls` - One or more DNS names (or IP addresses) and TLS port pairs. For example, `b-1.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-2.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094,b-3.exampleClusterName.abcde.c2.kafka.us-east-1.amazonaws.com:9094`. This attribute will have a value if `encryption_info.0.encryption_in_transit.0.client_broker` is set to `TLS_PLAINTEXT` or `TLS`. The resource sorts the list alphabetically. AWS may not always return all endpoints so the values may not be stable across applies.
39
-
*`kafka_version` - Apache Kafka version.
40
-
*`number_of_broker_nodes` - Number of broker nodes in the cluster.
41
42
*`tags` - Map of key-value pairs assigned to the cluster.
42
43
*`zookeeper_connect_string` - A comma separated list of one or more hostname:port pairs to use to connect to the Apache Zookeeper cluster. The returned values are sorted alphbetically. The AWS API may not return all endpoints, so this value is not guaranteed to be stable across applies.
43
44
*`zookeeper_connect_string_tls` - A comma separated list of one or more hostname:port pairs to use to connect to the Apache Zookeeper cluster via TLS. The returned values are sorted alphabetically. The AWS API may not return all endpoints, so this value is not guaranteed to be stable across applies.
*`broker_node_group_info` - (Required) Configuration block for the broker nodes of the Kafka cluster.
207
209
*`cluster_name` - (Required) Name of the MSK cluster.
210
+
*`cluster_type` - (Required) Type of the MSK cluster. Valid values: PROVISIONED, SERVERLESS.
211
+
*`provisioned` - (Optional) Configuration block for the provisioned type of the Kafka cluster.
212
+
*`serverless` - (Optional) Configuration block for the serverless type of the Kafka cluster.
213
+
*`tags` - (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` configuration block](/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
214
+
215
+
### provisioned Argument Reference
216
+
208
217
*`kafka_version` - (Required) Specify the desired Kafka software version.
209
218
*`number_of_broker_nodes` - (Required) The desired total number of broker nodes in the kafka cluster. It must be a multiple of the number of specified client subnets.
219
+
*`broker_node_group_info` - (Required) Configuration block for the broker nodes of the Kafka cluster.
210
220
*`client_authentication` - (Optional) Configuration block for specifying a client authentication. See below.
211
221
*`configuration_info` - (Optional) Configuration block for specifying a MSK Configuration to attach to Kafka brokers. See below.
212
222
*`encryption_info` - (Optional) Configuration block for specifying encryption. See below.
213
223
*`enhanced_monitoring` - (Optional) Specify the desired enhanced MSK CloudWatch monitoring level. See [Monitoring Amazon MSK with Amazon CloudWatch](https://docs.aws.amazon.com/msk/latest/developerguide/monitoring.html)
214
224
*`open_monitoring` - (Optional) Configuration block for JMX and Node monitoring for the MSK cluster. See below.
215
225
*`logging_info` - (Optional) Configuration block for streaming broker logs to Cloudwatch/S3/Kinesis Firehose. See below.
216
-
*`tags` - (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` configuration block](/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
226
+
227
+
### serverless Argument Reference
228
+
229
+
*`client_authentication` - (Optional) Configuration block for specifying a client authentication. See below.
230
+
*`vpc_configs` - (Required) Configuration block for specifying a vpc. See below.
231
+
232
+
### vpc_configs Argument Reference
233
+
234
+
*`security_group_ids` - (Optional) Identifiers of the security groups for the serverless cluster.
235
+
*`subnet_ids` - (Required) A list of VPC subnet IDs.
217
236
218
237
### broker_node_group_info Argument Reference
219
238
@@ -255,7 +274,7 @@ The following arguments are supported:
0 commit comments