Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mongey committed Mar 14, 2024
1 parent f2b86f5 commit 329d5a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ provider "kafka" {
```

Due to Redpanda not implementing some Metadata APIs, we need to force the Kafka version to use when creating the provider.
>>>>>>> d9b1386 (Add support for Kafka version configuration)

| Property | Description | Default |
| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ---------- |
Expand Down
11 changes: 6 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ description: |-
- `client_key` (String) The private key that the certificate was issued for.
- `client_key_file` (String, Deprecated) Path to a file containing the private key that the certificate was issued for.
- `client_key_passphrase` (String) The passphrase for the private key that the certificate was issued for.
- `kafka_version` (String) The version of Kafka protocol to use in `$MAJOR.$MINOR.$PATCH` format. Some features may not be available on older versions.
- `kafka_version` (String) The version of Kafka protocol to use in `$MAJOR.$MINOR.$PATCH` format. Some features may not be available on older versions. Default is 2.7.0.
- `sasl_aws_creds_debug` (Boolean) Set this to true to turn AWS credentials debug.
- `sasl_aws_profile` (String) AWS profile name to use
- `sasl_aws_region` (String) AWS region where MSK is deployed.
- `sasl_aws_role_arn` (String) Arn of an AWS IAM role to assume
- `sasl_mechanism` (String) SASL mechanism, can be plain, scram-sha512, scram-sha256, aws-iam
- `sasl_password` (String) Password for SASL authentication.
- `sasl_token_url` (String) The url to retrieve oauth2 tokens from, when using sasl mechanism oauthbearer
- `sasl_username` (String) Username for SASL authentication.
- `sasl_aws_region` (String) AWS region where MSK is deployed. Required when sasl_mechanism is aws-iam.
- `sasl_aws_role_arn` (String) IAM role ARN to Assume.
- `sasl_aws_profile` (String) AWS profile name to use.
- `sasl_aws_creds_debug` (Boolean) Set this to true to turn AWS credentials debug.
- `skip_tls_verify` (Boolean) Set this to true only if the target Kafka server is an insecure development instance.
- `timeout` (Number) Timeout in seconds
- `tls_enabled` (Boolean) Enable communication with the Kafka Cluster over TLS.
1 change: 1 addition & 0 deletions kafka/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func Provider() *schema.Provider {
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("KAFKA_SASL_IAM_AWS_REGION", nil),
Description: "AWS region where MSK is deployed.",
},
"kafka_version": {
Type: schema.TypeString,
Optional: true,
Expand Down

0 comments on commit 329d5a7

Please sign in to comment.