Closed hebelt closed 2 years ago
The problems occurs everytime you call "amplify push".
If you need to publish something right now on windows, you can patch your file locally (dirty and fast :)):
%AppData%\npm\node_modules\@aws-amplify\cli\node_modules\amplify-provider-awscloudformation\lib\utils\consolidate-apigw-policies.js
const S3_UPLOAD_PATH = amplify_cli_core_1.AmplifyCategories.API + /${exports.APIGW_AUTH_STACK_LOGICAL_ID}.json
;
it would be nice, if this bugfix will be released soon.
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels for those types of questions.
Before opening, please confirm:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v14.15.1
Amplify CLI Version
7.5.2
What operating system are you using?
Windows
Amplify Categories
auth, api
Amplify Commands
push
Describe the bug
After changing some options in api and upgrading from 7.5.1, i receive the following error:
templateurl must be a supported url amplify
Checking the files, with git diff show up the following: "APIGatewayAuthURL": "https://s3.amazonaws.com/amplify-*-deployment/amplify-cfn-templates/api\\APIGatewayAuthStack.json"
When i correct the \ to / after entering amplify push and before acknowledging the changes of the graphQL-Files, i can push the
Expected behavior
the url should be generated correctly on windows system
"APIGatewayAuthURL": "https://s3.amazonaws.com/amplify-*-deployment/amplify-cfn-templates/api/APIGatewayAuthStack.json"
Reproduction steps
GraphQL schema(s)
Log output
Additional information
No response