GithubHelp home page GithubHelp logo

Comments (2)

juri-diener avatar juri-diener commented on June 2, 2024

I tried to delete the function with amplify remove function and added again: Now I get this error:
🛑 The following resources failed to deploy:
Resource Name: LambdaFunction (AWS::Lambda::Function)
Event Type: create
Reason: acceptOrgFollowing-dev already exists in stack arn:aws:cloudformation:eu-north-1:816395333069:stack/amplify-examplebackendaws-dev-194204-functionacceptOrgFollowing-9ARCKG9E2E5I/24c1ff70-0662-11ef-96d9-0ecc2333e0de6

🛑 Resource is not in the state stackUpdateComplete
Name: LambdaFunction (AWS::Lambda::Function), Event Type: create, Reason: acceptOrgFollowing-dev already exists in stack arn:aws:cloudformation:eu-north-1: 816395333069:stack/amplify-examplebackendaws-dev-194204-functionacceptOrgFollowing-9ARCKG9E2E5I/24c1ff70-0662-11ef-96d9-0ecc2333e0de6

the examplebackendaws is a complete different app. So I don't understand why it's complaining that the function exists. Is it not possible to have the same function name in different projects?

from amplify-cli.

ykethan avatar ykethan commented on June 2, 2024

hey @juri-diener, function with the same name cannot be created if the function exists in the region.
image

["Index: 4 State: {"deploy":"waitingForDeployment"} Message: Resource is not in the state stackUpdateComplete"]

It appears the stack failed to update on CloudFormation, could you check the stack events on the CloudFormation console for any notable errors?
additionally, noticed the Amplify CLI version appears to be out of date, could you upgrade the CLI using amplify upgrade.

from amplify-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.