-
Notifications
You must be signed in to change notification settings - Fork 150
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
Maintenance: Docs are not accessible due to bad Cloudfront redirect config #1726
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Hi @silicakes thanks for reporting the issue - you are right, there's something wrong with the redirects. We are looking into it and will fix it as soon as possible. According to our definition of bugs, given this is not a runtime issue I'll be changing the issue type to maintenance. In the meantime that the redirect gets fixed in the backend, I'll work on fixing the links on the README files as soon as I can. |
The issue should be fixed on the CloudFront side, however we'll still update the links in the README and docs so that we don't go though the redirects at all. |
|
It looks like cloudFront redirect rule is wrong as it redirects to:
https://powertools.aws.devhttps://github.com/aws-powertools/
Check out the bottom part of this log (301):
Expected Behaviour
Clicking links from the Readme sends you to an incorrect location, i.e:
https://powertools.aws.dev/lambda/typescript/latest/utilities/parameters/ instead of https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/ (note the
docs
subdomain)Although the link is correct.
If you manually fill the missing
docs
part after the redirect and referred from aws, this will not redirect you and the link will become accessible.Current Behaviour
Screen.Recording.2023-10-01.at.11.28.20.mov
Code snippet
Steps to Reproduce
Click on any documentation related link inside the readme, i.e https://powertools.aws.dev/lambda/python/latest/tutorial/
It works when adding the proper subdomain: https://docs.powertools.aws.dev/lambda/python/latest/tutorial/
Possible Solution
Update codebuilds redirect rules
Powertools for AWS Lambda (TypeScript) version
latest
AWS Lambda function runtime
18.x
Packaging format used
npm
Execution logs
No response
The text was updated successfully, but these errors were encountered: