-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Technical debt: Use internal/retry
for tfresource.RetryWhenNewResourceNotFound
#43412
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
Open
ewbankkit
wants to merge
43
commits into
main
Choose a base branch
from
td-tfresource.RetryWhenNewResourceNotFound-use-internal/retry
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Technical debt: Use internal/retry
for tfresource.RetryWhenNewResourceNotFound
#43412
ewbankkit
wants to merge
43
commits into
main
from
td-tfresource.RetryWhenNewResourceNotFound-use-internal/retry
+1,167
−1,204
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…NewResourceNotFound' - appautoscaling.
…NewResourceNotFound' - appmesh.
…NewResourceNotFound' - cloudtrail.
…NewResourceNotFound' - ec2.
…NewResourceNotFound' - ecr.
…NewResourceNotFound' - ecs.
…NewResourceNotFound' - elbv2.
…NewResourceNotFound' - iam.
…NewResourceNotFound' - kms.
…NewResourceNotFound' - lambda.
…NewResourceNotFound' - sns.
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
jar-b
approved these changes
Jul 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
client-connections
Pertains to the AWS Client and service connections.
generators
Relates to code generators.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
service/appautoscaling
Issues and PRs that pertain to the appautoscaling service.
service/appmesh
Issues and PRs that pertain to the appmesh service.
service/cloudtrail
Issues and PRs that pertain to the cloudtrail service.
service/ec2ebs
Issues and PRs that pertain to the ec2ebs service.
service/ec2outposts
Issues and PRs that pertain to the ec2outposts service.
service/ec2
Issues and PRs that pertain to the ec2 service.
service/ecr
Issues and PRs that pertain to the ecr service.
service/ecs
Issues and PRs that pertain to the ecs service.
service/elbv2
Issues and PRs that pertain to the elbv2 service.
service/iam
Issues and PRs that pertain to the iam service.
service/kms
Issues and PRs that pertain to the kms service.
service/lambda
Issues and PRs that pertain to the lambda service.
service/sns
Issues and PRs that pertain to the sns service.
service/transitgateway
Issues and PRs that pertain to the transitgateway service.
service/verifiedaccess
Issues and PRs that pertain to the verifiedaccess service.
service/vpc
Issues and PRs that pertain to the vpc service.
service/vpnclient
Issues and PRs that pertain to the vpnclient service.
service/vpnsite
Issues and PRs that pertain to the vpnsite service.
service/wavelength
Issues and PRs that pertain to the wavelength service.
size/L
Managed by automation to categorize the size of a PR.
size/XL
Managed by automation to categorize the size of a PR.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Description
Use the new primitives in
internal/retry
(as a replacement for the SDKv2helper/retry
package) fortfresource.RetryUntilNewResourceNotFound
.Also converts
tfresource.RetryUntilNewResourceNotFound
to a generic function.Relations
Relates #42554.
Relates #43267.
Relates #43341.
Output from Acceptance Testing