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

aws_dms_endpoint redis target settings bug fix #26411

Conversation

peresypkinroman
Copy link
Contributor

@peresypkinroman peresypkinroman commented Aug 21, 2022

Community Note

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

Relates OR Closes #0000

Closes #26266

Output from acceptance testing:

$ make testacc TESTS=TestAccXXX PKG=ec2

...

@github-actions github-actions bot added documentation Introduces or discusses updates to documentation. service/dms Issues and PRs that pertain to the dms service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/L Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. labels Aug 21, 2022
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 @peresypkinroman 👋

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! 😃

@peresypkinroman
Copy link
Contributor Author

peresypkinroman commented Aug 21, 2022

Notes

  • Moved server_name and port to redis_settings block as it is referred in aws docs . Do not know if top level server_name and port are obligatory to terraform aws provider. AWS body json stores them in redis_settings as defined in Specifying endpoint settings for Redis as a target
  • marked Required necessary fields
  • marked ssl_security_protocol as Required. Let's force users to specify it explicitly. It is not required in aws docs

@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 Aug 22, 2022
@peresypkinroman peresypkinroman changed the title aws_dms_endpoint redis target settings fix aws_dms_endpoint redis target settings bug fix Aug 23, 2022
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_redis\|TestAccDMSEndpoint_basic\|TestAccDMSEndpoint_S3_basic' PKG=dms ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/dms/... -v -count 1 -parallel 2  -run=TestAccDMSEndpoint_redis\|TestAccDMSEndpoint_basic\|TestAccDMSEndpoint_S3_basic -timeout 180m
=== RUN   TestAccDMSEndpoint_basic
=== PAUSE TestAccDMSEndpoint_basic
=== RUN   TestAccDMSEndpoint_S3_basic
=== PAUSE TestAccDMSEndpoint_S3_basic
=== RUN   TestAccDMSEndpoint_redis
=== PAUSE TestAccDMSEndpoint_redis
=== CONT  TestAccDMSEndpoint_basic
=== CONT  TestAccDMSEndpoint_redis
--- PASS: TestAccDMSEndpoint_redis (44.91s)
=== CONT  TestAccDMSEndpoint_S3_basic
--- PASS: TestAccDMSEndpoint_basic (45.45s)
--- PASS: TestAccDMSEndpoint_S3_basic (48.70s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/dms	97.411s

@ewbankkit
Copy link
Contributor

@peresypkinroman Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit added this to the v4.29.0 milestone Aug 26, 2022
@ewbankkit ewbankkit merged commit c0cf8ab into hashicorp:main Aug 29, 2022
@github-actions
Copy link

github-actions bot commented Sep 2, 2022

This functionality has been released in v4.29.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!

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

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 Oct 4, 2022
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/L 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.

Unable to create aws_dms_endpoint Redis target
3 participants