aws-samples / aws-saas-factory-eks-reference-architecture

This repository provides a reference architecture for building an end to end SaaS solution using Amazon Elastic Kubernetes Service (EKS)
MIT No Attribution
258 stars 98 forks source link

Unable to install: SaaSApi Cloudformation Stack failing #64

Closed lal-verma closed 8 months ago

lal-verma commented 1 year ago

Tried to run the eks reference solution, on vNext branch, in a new account, new region. Cloudformation stack SaaSApi is failing.

Command Used

npm run deploy --email=iamlal@amazon.com

Error Screenshot

Screen Shot 2022-09-28 at 9 50 48 AM
thecount1986 commented 1 year ago

Hi, any progress on this one? I'm getting the same thing.

james-ahearn commented 1 year ago

I too am facing the above issue

ranjith-aws commented 1 year ago

This looks like some kind of a timing/race condition issue with the NLB not being ready and because of that the SaaSApi stack times out. I tried a few times and I ran in to this once. The workaround for now is:

Go to Cloud9 and run the same npm run deploy command that you used previously to create the stack. Important to make sure you use the same command that you ran previously with the same parameters, it could be either the 1/ with domain or 2/ without the domain option. The stack creation picks up from where it left off at the SaaSApi stack and completes successfully

Please try that and let me know how it goes. Meanwhile, we are working on a better solution to this specific issue.

thecount1986 commented 1 year ago

Thanks, @ranjith-aws, I did something similar. I went to CloudFront and copied the template and create a new stack using the same template and ran it again and it worked.