-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
fix: Fix S3 on Outposts read error for aws_datasync_location_s3 #40929
Merged
ewbankkit
merged 4 commits into
hashicorp:main
from
acwwat:f-aws_datasync_location_s3-fix_s3_on_outposts_read_err
Jan 15, 2025
Merged
fix: Fix S3 on Outposts read error for aws_datasync_location_s3 #40929
ewbankkit
merged 4 commits into
hashicorp:main
from
acwwat:f-aws_datasync_location_s3-fix_s3_on_outposts_read_err
Jan 15, 2025
+241
−11
Conversation
This file contains 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
Community NoteVoting for Prioritization
For Submitters
|
github-actions
bot
added
documentation
Introduces or discusses updates to documentation.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
service/datasync
Issues and PRs that pertain to the datasync service.
needs-triage
Waiting for first response or review from a maintainer.
external-maintainer
Contribution from a trusted external contributor.
labels
Jan 14, 2025
justinretzolk
added
bug
Addresses a defect in current functionality.
and removed
needs-triage
Waiting for first response or review from a maintainer.
labels
Jan 14, 2025
acwwat
force-pushed
the
f-aws_datasync_location_s3-fix_s3_on_outposts_read_err
branch
3 times, most recently
from
January 14, 2025 23:02
4c48873
to
9c1778a
Compare
acwwat
force-pushed
the
f-aws_datasync_location_s3-fix_s3_on_outposts_read_err
branch
from
January 14, 2025 23:44
9c1778a
to
b5dbce6
Compare
github-actions
bot
added
the
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
label
Jan 15, 2025
ewbankkit
approved these changes
Jan 15, 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 🚀.
% make testacc TESTARGS='-run=TestAccDataSyncLocationS3_' PKG=datasync ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/datasync/... -v -count 1 -parallel 3 -run=TestAccDataSyncLocationS3_ -timeout 360m -vet=off
2025/01/15 14:32:38 Initializing Terraform AWS Provider...
=== RUN TestAccDataSyncLocationS3_basic
=== PAUSE TestAccDataSyncLocationS3_basic
=== RUN TestAccDataSyncLocationS3_storageClass
=== PAUSE TestAccDataSyncLocationS3_storageClass
=== RUN TestAccDataSyncLocationS3_disappears
=== PAUSE TestAccDataSyncLocationS3_disappears
=== RUN TestAccDataSyncLocationS3_tags
=== PAUSE TestAccDataSyncLocationS3_tags
=== CONT TestAccDataSyncLocationS3_basic
=== CONT TestAccDataSyncLocationS3_disappears
=== CONT TestAccDataSyncLocationS3_tags
--- PASS: TestAccDataSyncLocationS3_disappears (25.30s)
=== CONT TestAccDataSyncLocationS3_storageClass
--- PASS: TestAccDataSyncLocationS3_basic (27.13s)
--- PASS: TestAccDataSyncLocationS3_storageClass (16.22s)
--- PASS: TestAccDataSyncLocationS3_tags (48.74s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/datasync 53.984s
jar-b
approved these changes
Jan 15, 2025
@acwwat Thanks for the contribution 🎉 👏. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Addresses a defect in current functionality.
documentation
Introduces or discusses updates to documentation.
external-maintainer
Contribution from a trusted external contributor.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
service/datasync
Issues and PRs that pertain to the datasync service.
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.
Description
This PR is to fix a global ID parse error when reading an S3 location that is on AWS Outposts.
Note that due to the difficulty in setting up Outposts in a unit test scenario, I am unable to unit test the resource fully.
Relations
Closes #40693
References
Referred to CreateLocationS3 for specs and wordings.
Output from Acceptance Testing