-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 aws_s3control_multi_region_access_point #28373
Data source aws_s3control_multi_region_access_point #28373
Conversation
Community NoteVoting for Prioritization
For Submitters
|
- Implement the data source - Implement the test for the data source - Create draft documentation
495fb9b
to
a6e4aae
Compare
internal/service/s3control/multi_region_access_point_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/s3control/multi_region_access_point_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/s3control/multi_region_access_point_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/s3control/multi_region_access_point_data_source.go
Outdated
Show resolved
Hide resolved
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.
Added a few drive-by comments, nice WIP 👍
In the main resource the ID is created with the MultiRegionAccessPointCreateResourceID function. So therefore the data source should also generate the same ID.
created_at is not returned when creating the resource so we cannot compare this value.
9560656
to
05844d3
Compare
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=TestAccS3ControlMultiRegionAccessPointDataSource_' PKG=s3control ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control/... -v -count 1 -parallel 3 -run=TestAccS3ControlMultiRegionAccessPointDataSource_ -timeout 180m
=== RUN TestAccS3ControlMultiRegionAccessPointDataSource_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPointDataSource_basic
=== CONT TestAccS3ControlMultiRegionAccessPointDataSource_basic
--- PASS: TestAccS3ControlMultiRegionAccessPointDataSource_basic (347.42s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/s3control 352.783s
@tiborhercz Thanks for the contribution 🎉 👏. |
Nice work @tiborhercz 👍 |
This functionality has been released in v4.49.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! |
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. |
Description
S3 multi region access point data resource.
Relations
Closes #28251
Output from Acceptance Testing