Skip to content
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

API & Lambda function deleted by themselves #13171

Closed
2 tasks done
amit23234 opened this issue Aug 30, 2023 · 9 comments
Closed
2 tasks done

API & Lambda function deleted by themselves #13171

amit23234 opened this issue Aug 30, 2023 · 9 comments
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage platform-push Issues related to `amplify push`

Comments

@amit23234
Copy link

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

v18.14.0

Amplify CLI Version

12.3.0

What operating system are you using?

windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No manual changes made

Describe the bug

I created 2 apis and 1 lambda function using the aws amplify cli in vs code. The resources were created in the respective consoles (api gateway & lambda) but then got deleted by themselves.
Project Identifier: afb65268e8b881b747c160a78535b9e4

Expected behavior

they shouldn't have automatically deleted.

Reproduction steps

  1. amplify push

Project Identifier

afb65268e8b881b747c160a78535b9e4

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@amit23234 amit23234 added the pending-triage Issue is pending triage label Aug 30, 2023
@ykethan
Copy link
Member

ykethan commented Sep 1, 2023

Hey @amit23234, thank you for reaching out. On diving into the project logs observed this status UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS. Did you observe any failed push, because if the push failed this may cause the resources to rollback and remove them. Could you open the AWS CloudFormation console for the project stack and check for any error messages and present status of the stack.

@ykethan ykethan added platform-push Issues related to `amplify push` pending-response Issue is pending response from the issue author labels Sep 1, 2023
@amit23234
Copy link
Author

amit23234 commented Sep 1, 2023 via email

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Sep 1, 2023
@ykethan
Copy link
Member

ykethan commented Sep 1, 2023

@amit23234 On a rollback the nested stack may be deleted, could you check this under the Deleted status
Could you set the following in the CloudFormation.
image
and check the stack that contains api in the name(eg: amplify--staging-205217-apiapi02a725ca-W0QTJRWOSUOS)

Additionally, could you provide us information/reproduction steps on how the API was configured to reproduce this behavior?

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Sep 1, 2023
@amit23234
Copy link
Author

amit23234 commented Sep 1, 2023 via email

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Sep 1, 2023
@amit23234
Copy link
Author

amit23234 commented Sep 1, 2023 via email

@ykethan
Copy link
Member

ykethan commented Sep 5, 2023

@amit23234 in the deleted CloudFormation stack under the events did you observe any error messages?

Is the error message similar to the following?
image
As i ran into this error when reproducing the behavior using path parameters. if not, could you provide me information/examples of the paths created using the CLI(with query parameters and path parameters)?

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Sep 5, 2023
@josefaidt
Copy link
Contributor

Hey @amit23234 I wanted to follow up here and see if you're still experiencing this?

@ykethan
Copy link
Member

ykethan commented Dec 13, 2023

closing the issue due to inactivity. please feel free in reaching out to us, we would be happy in diving deeper.

@ykethan ykethan closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage platform-push Issues related to `amplify push`
Projects
None yet
Development

No branches or pull requests

3 participants