aditmalik-synechron / serverless-nested-stack

Serverless nested stack
42 stars 10 forks source link

Error when deploy #2

Open eladhaz05 opened 6 years ago

eladhaz05 commented 6 years ago

Hi,

I try to use the plugin with one of my services and I got this error: An error occurred while provisioning your stack: ApiStack - Embedded stack ... was not successfully created: The following resource(s) failed to create:

I already succeeded with another one. What is the meaning of this error? Thank you

jagdish-176 commented 6 years ago

While deploying can you monitor ApiStack events in CloudFormation, so will know exact reason for failure.

On Nov 6, 2017 10:24 PM, "eladhaz05" notifications@github.com wrote:

Hi,

I try to use the plugin with one of my services and I got this error: An error occurred while provisioning your stack: ApiStack - Embedded stack ... was not successfully created: The following resource(s) failed to create:

I already succeeded with another one. What is the meaning of this error? Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jagdish-176/serverless-nested-stack/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2vT15X7L3EKe5-0ynjrdaJljTxBsNCks5szznSgaJpZM4QTjAr .

yogumanivannan commented 6 years ago

I am also getting this issue. Any updates ?

jagdish-176 commented 6 years ago

May I know what error we are getting?

Can you put event log of CloudFormation of what went wrong?

On Dec 13, 2017 3:59 PM, "stefanfeurstein" notifications@github.com wrote:

running into the same error with LogStack - any update here?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jagdish-176/serverless-nested-stack/issues/2#issuecomment-351350038, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2vT-MacRZLqIhfMqQMZ8hZX0OB7Armks5s_6cSgaJpZM4QTjAr .

idmontie commented 6 years ago

We had something similar to this happen to us. The nested stack would fail with an uninformative error that creating every Log resource failed. I think this is because we already had deployed serverless before adding this plugin.

We ran terraform remove and then deployed with serverless-nested-stack and it worked fine.

It seems like this doesn't work if the resources were created beforehand.

ridan commented 5 years ago

I get this same issue An error occurred: LogStack - Embedded stack arn:aws:cloudformation:us-east-1:738160810214:stack/<someurl> was not successfully created: The following resource(s) failed to create: [<name of my services>]. .

I had my serverless deployed before using this plugin. If this plugin can only be used on a fresh stack then that has to be mentioned on the top of the readme.