hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.8k stars 9.15k forks source link

[Enhancement]: Support setting SaslMechanism in aws_dms_endpoint kafka_settings #35794

Open gavinclarkeuk opened 8 months ago

gavinclarkeuk commented 8 months ago

Description

There is no way to set the SaslMechanism field in a Kafka DMS Endpoint. Other fields are supported, so should just be a simple addition.

Affected Resource(s) and/or Data Source(s)

aws_dms_endpoint

Potential Terraform Configuration

resource "aws_dms_endpoint" "cdc-kafka_endpoint" {
  endpoint_id   = "my-endpoint"
  endpoint_type = "target"
  engine_name   = "kafka"
  kafka_settings {
    broker            = "my-broker.eu-west-1.aws.confluent.cloud:9092"
    sasl_username     = "my-user"
    sasl_password     = "my-password"
    sasl_mechanism    = "plain"
    security_protocol = "sasl-ssl"
    topic             = "my-topic"
  }
}

References

https://docs.aws.amazon.com/dms/latest/APIReference/API_KafkaSettings.html

Would you like to implement a fix?

No

github-actions[bot] commented 8 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue