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

Feature request: aws_s3_bucket_objects data source #2634

Closed
hashibot opened this issue Dec 11, 2017 · 3 comments · Fixed by #6968
Closed

Feature request: aws_s3_bucket_objects data source #2634

hashibot opened this issue Dec 11, 2017 · 3 comments · Fixed by #6968
Labels
new-data-source Introduces a new data source. service/s3 Issues and PRs that pertain to the s3 service.
Milestone

Comments

@hashibot
Copy link

This issue was originally opened by @red8888 as hashicorp/terraform#16893. It was migrated here as a result of the provider split. The original body of the issue is below.


It would be nice to have an aws_s3_bucket_objects (plural) datasource that gets all s3 objects in a bucket as a list. Obviously this could be a big operation on a large bucket but I know I'm not the only one with an obvious use case for this. I need something like this to use with the "aws_elastic_beanstalk_application_version" in order to track multiple versions.

I asked an SO question about this:
https://stackoverflow.com/questions/47745443/how-do-i-get-a-list-of-s3-objects-with-the-aws-s3-bucket-object-data-source

Using an external script here as a workaround is dangerous I think. This is really the missing link for making terraform beanstalk support 100%- I'm sure there are other things this would benefit from too.

@hashibot hashibot added the enhancement Requests to existing resources that expand the functionality or scope. label Dec 11, 2017
@radeksimko radeksimko added the service/s3 Issues and PRs that pertain to the s3 service. label Jan 28, 2018
@bflad bflad added new-data-source Introduces a new data source. and removed enhancement Requests to existing resources that expand the functionality or scope. labels Jul 31, 2019
@bflad bflad added this to the v2.23.0 milestone Aug 1, 2019
@bflad
Copy link
Contributor

bflad commented Aug 1, 2019

A new aws_s3_bucket_objects (plural) data source has been merged and will release with version 2.23.0 of the Terraform AWS Provider, next Thursday. 👍 Thanks to @YakDriver for the implementation.

@ghost
Copy link

ghost commented Aug 7, 2019

This has been released in version 2.23.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 for triage. Thanks!

@ghost
Copy link

ghost commented Nov 2, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-data-source Introduces a new data source. service/s3 Issues and PRs that pertain to the s3 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants