Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sasl_mechanism to dms kafka_settings #36918

Merged
merged 5 commits into from
Jan 5, 2025

Conversation

t0ffel
Copy link

@t0ffel t0ffel commented Apr 15, 2024

Description

Support SaslMechanism parameter when creating Kafka DMS endpoints.

Relations

Closes #35794

References

DMS API reference: https://docs.aws.amazon.com/dms/latest/APIReference/API_KafkaSettings.html#DMS-Type-KafkaSettings-SaslMechanism

Output from Acceptance Testing

% make testacc TESTS=TestAccDMSEndpoint_kafka PKG=dms
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/dms/... -v -count 1 -parallel 20 -run='TestAccDMSEndpoint_kafka'  -timeout 360m
=== RUN   TestAccDMSEndpoint_kafka
=== PAUSE TestAccDMSEndpoint_kafka
=== CONT  TestAccDMSEndpoint_kafka
--- PASS: TestAccDMSEndpoint_kafka (35.14s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/dms        35.246s

...

Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/dms Issues and PRs that pertain to the dms service. labels Apr 15, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Apr 15, 2024
@t0ffel t0ffel force-pushed the dms_sasl_mechanism branch from cf32a70 to ea502b6 Compare April 15, 2024 14:44
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @t0ffel 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@justinretzolk justinretzolk added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 15, 2024
@navery-max
Copy link

@justinretzolk - is there a way of moving this forward pls? Id be keen to adopt (also need it) - Thank you!

@cmilkosky
Copy link

Hi! I have a customer that is looking for this feature. When will it be available?

# Conflicts:
#	internal/service/dms/endpoint.go
@ewbankkit ewbankkit requested a review from a team as a code owner December 30, 2024 13:15
@ewbankkit ewbankkit self-assigned this Dec 30, 2024
@github-actions github-actions bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Dec 30, 2024
ewbankkit
ewbankkit previously approved these changes Dec 30, 2024
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

% make testacc TESTARGS='-run=TestAccDMSEndpoint_kafka\|TestAccDMSEndpoint_basic' PKG=dms
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/dms/... -v -count 1 -parallel 20  -run=TestAccDMSEndpoint_kafka\|TestAccDMSEndpoint_basic -timeout 360m
2024/12/30 08:17:37 Initializing Terraform AWS Provider...
=== RUN   TestAccDMSEndpoint_basic
=== PAUSE TestAccDMSEndpoint_basic
=== RUN   TestAccDMSEndpoint_kafka
=== PAUSE TestAccDMSEndpoint_kafka
=== CONT  TestAccDMSEndpoint_basic
=== CONT  TestAccDMSEndpoint_kafka
--- PASS: TestAccDMSEndpoint_kafka (26.59s)
--- PASS: TestAccDMSEndpoint_basic (26.60s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/dms	31.909s

Copy link
Contributor

@nam054 nam054 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

> make testacc TESTARGS='-run=TestAccDMSEndpoint_kafka\|TestAccDMSEndpoint_basic' PKG=dms
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/dms/... -v -count 1 -parallel 20  -run=TestAccDMSEndpoint_kafka\|TestAccDMSEndpoint_basic -timeout 360m
2024/12/30 12:19:06 Initializing Terraform AWS Provider...
=== RUN   TestAccDMSEndpoint_basic
=== PAUSE TestAccDMSEndpoint_basic
=== RUN   TestAccDMSEndpoint_kafka
=== PAUSE TestAccDMSEndpoint_kafka
=== CONT  TestAccDMSEndpoint_basic
=== CONT  TestAccDMSEndpoint_kafka
--- PASS: TestAccDMSEndpoint_basic (35.89s)
--- PASS: TestAccDMSEndpoint_kafka (35.96s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/dms        43.010s

@ewbankkit
Copy link
Contributor

@t0ffel Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit c48dc95 into hashicorp:main Jan 5, 2025
41 checks passed
@github-actions github-actions bot added this to the v5.83.0 milestone Jan 5, 2025
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

This functionality has been released in v5.83.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

github-actions bot commented Feb 9, 2025

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/dms Issues and PRs that pertain to the dms service. size/XS Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Support setting SaslMechanism in aws_dms_endpoint kafka_settings
6 participants