You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
How did you install the Amplify CLI?
npm i -g @aws-amplify/cli
If applicable, what version of Node.js are you using?
v12.18.4
Amplify CLI Version
4.50.2
What operating system are you using?
Mac
Amplify Categories
Not applicable
Amplify Commands
push
Describe the bug
After upgrading the CLI from 4.49.0 to 4.50.2, if I update a resource and push, the push fails with the following error message:
CREATE_FAILED APIGatewayAuthStack AWS::CloudFormation::Stack Tue May 11 2021 12:21:55 GMT+0100 (Central European Standard Time) Template format error: At least one Resources member must be defined.
I noticed that a new file amplify/backend/api/APIGatewayAuthStack.json with the following content has been created:
If I go back to 4.49.0 and delete that file, then the push works fine.
Expected behavior
Push works.
Reproduction steps
Reproduction might depend on the services you have in your stack. In my case I have a REST API, a GraphQL API, a user pool auth, a couple of functions, 2 DB storages a custom event bus and a custom event bridge.
upgrade the Amplify CLI for a version < 4.50 to 4.50.2
run amplify push --force as described in the documentation (this should work)
update a resource, e.g. a function
run amplify push (this should fail)
GraphQL schema(s)
No response
Log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Before opening, please confirm:
How did you install the Amplify CLI?
npm i -g @aws-amplify/cli
If applicable, what version of Node.js are you using?
v12.18.4
Amplify CLI Version
4.50.2
What operating system are you using?
Mac
Amplify Categories
Not applicable
Amplify Commands
push
Describe the bug
After upgrading the CLI from 4.49.0 to 4.50.2, if I update a resource and push, the push fails with the following error message:
I noticed that a new file
amplify/backend/api/APIGatewayAuthStack.json
with the following content has been created:If I go back to 4.49.0 and delete that file, then the push works fine.
Expected behavior
Push works.
Reproduction steps
Reproduction might depend on the services you have in your stack. In my case I have a REST API, a GraphQL API, a user pool auth, a couple of functions, 2 DB storages a custom event bus and a custom event bridge.
amplify push --force
as described in the documentation (this should work)amplify push
(this should fail)GraphQL schema(s)
No response
Log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: