-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
supporting S3 providers that don't implement acceleration, payer or lock configuration #17564
Conversation
…fault values when skipping these configurations
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.
Welcome @mflorin 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
There are also providers which do not support versioning e.g. Strato HiDrive S3. |
Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding. Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author. For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000. For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide. |
@mflorin i tried to resolve the conflicts after the refactoring and I think it is easier to reimplement this using the new code structure. Do you plan to do that or may i take a stab at it? |
@mneverov - Hello, I don't think I'll be able to do that in the near future. Feel free to give it a try. Thanks :) |
@anGie44 the referenced PR is indeed solving those use cases. I still have one issue with bucket tags which are apparently not implemented in my flavor of S3:
I think the tags could have the same treatment and ignore NotImplemented responses ? |
Hi @rslinckx 👋 . Yes, looks like the |
I'm using v4.6.0 and I'm still getting the below, so I suppose that #23278 hasn't fully fixed this yet? aws_s3_bucket.mybucket: Creating...
╷
│ Error: error getting S3 Bucket acceleration configuration: XNotImplemented: The request you provided implies functionality that is not implemented.
│ status code: 501, request id: 1647961587738908, host id: 12596221 Would this PR solve it? |
@anGie44 Thanks for the clarification, that makes sense. Any thoughts on how to move forward with support for aforementioned |
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. |
Change Description
In order to support third party S3 providers that do not support acceleration, request payer or lock configuration when
managing buckets, we need to be able to skip those operations. For that, we've implemented three new attributes on the
aws_s3_bucket
resource:Community Note
Closes #13726
Output from acceptance testing: