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

data-source/db_instance: prevent panic when endpoint not available #24299

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

anGie44
Copy link
Contributor

@anGie44 anGie44 commented Apr 18, 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

Closes #23925

Output from acceptance testing:

--- PASS: TestAccRDSInstanceDataSource_basic (596.21s)
--- PASS: TestAccRDSInstanceDataSource_ec2Classic (604.27s)

@github-actions github-actions bot added service/rds Issues and PRs that pertain to the rds service. size/S Managed by automation to categorize the size of a PR. labels Apr 18, 2022
@anGie44 anGie44 added the bug Addresses a defect in current functionality. label Apr 18, 2022
@anGie44 anGie44 force-pushed the b-rds-instance-data-source-panic branch from 9323360 to e69f4c3 Compare April 18, 2022 18:30
@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. and removed size/S Managed by automation to categorize the size of a PR. labels Apr 18, 2022
@github-actions github-actions bot added size/S Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Apr 18, 2022
@anGie44 anGie44 marked this pull request as ready for review April 18, 2022 18:34
@anGie44 anGie44 changed the title data-source/rds_instance: prevent panic when endpoint not available data-source/db_instance: prevent panic when endpoint not available Apr 18, 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 TESTS=TestAccRDSInstanceDataSource_ PKG=rds ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/rds/... -v -count 1 -parallel 2 -run='TestAccRDSInstanceDataSource_'  -timeout 180m
=== RUN   TestAccRDSInstanceDataSource_basic
=== PAUSE TestAccRDSInstanceDataSource_basic
=== RUN   TestAccRDSInstanceDataSource_ec2Classic
=== PAUSE TestAccRDSInstanceDataSource_ec2Classic
=== CONT  TestAccRDSInstanceDataSource_basic
=== CONT  TestAccRDSInstanceDataSource_ec2Classic
--- PASS: TestAccRDSInstanceDataSource_ec2Classic (627.16s)
--- PASS: TestAccRDSInstanceDataSource_basic (660.69s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/rds	664.481s

@anGie44 anGie44 added this to the v4.11.0 milestone Apr 18, 2022
@anGie44 anGie44 merged commit a10b0b6 into main Apr 18, 2022
@anGie44 anGie44 deleted the b-rds-instance-data-source-panic branch April 18, 2022 19:36
github-actions bot pushed a commit that referenced this pull request Apr 18, 2022
@github-actions
Copy link

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

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 May 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/rds Issues and PRs that pertain to the rds service. size/S Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DMS panic
2 participants