-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
'redirect_all_requests_to' stripping query string #16454
Comments
I should mention that if i do it with the ruby api in a manual application, that it does work as expected. http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Types/RedirectAllRequestsTo.html Or if i go to the AWS console and manually update the url in there. |
Confirmed that PR#2059 does resolve my issue |
This issue has been automatically migrated to hashicorp/terraform-provider-aws#2061 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to this issue and let us know. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
When creating an S3 bucket to do a site redirect I am running into an issue where the
redirect_all_requests_to
option will strip out any querystrings.for example:
will save the following on S3
The following shows up in the debug logs
So you can see it detects that the url is incorrect, so it updates it to the correct url, but it doesn't actually save it, it strips everything after the query string.
(I changed the domain name in the example above to obfuscate what this is for)
I am running the latest version of Terraform
The text was updated successfully, but these errors were encountered: