0
votes

Hi everyone I'm pretty new in AWS CDK and wanted to create a simple app (javaScript) with AWS developer guide : https://docs.aws.amazon.com/cdk/latest/guide/hello_world.html

it seems like everything is work fine but when I'm trying to run "cdk deploy" command the deploy is not even starting and is stack in this stage: enter image description here

does somebody know what I'm doing wrong or how to get the actual error?

1
(1) Don't post pictures, instead post the actual console output within code tags. (2) Are you able to successfully cdk synth? (3) Have you looked at CloudFormation in the Console to see if the stack is being created? (4) Do you have any sort of firewall that would block access from your PC to AWS? - Parsifal
(2) Yes, the "cdk synth" is successful and looks like the example on the guide. (3) on the CloudFormation the stack was created. (4) I don't think that I have a firewall that blocks the access to AWS, I'm trying to deploy while the firewall is disabled and it still not working. - gil cohen
Did the CloudFormation stack complete? If yes, then it's possible that you don't have the permissions to retrieve stack status. If the stack is failing, look at the events and update your question with the status from the oldest failed event, which will be the root cause of the failure. - Parsifal
Can you please paste the output when running the deploy with "--verbose"? - Stefan Freitag
Hi, I running "cdk deploy -vv" and it looks like it's stuck here: [AWS cloudformation 200 0.398s 0 retries] describeStacks({ StackName: 'CDKToolkit' }) Stack CDKToolkit has an ongoing operation in progress and is not stable (REVIEW_IN_PROGRESS (User Initiated)) - gil cohen

1 Answers

0
votes

using -vvv and --debug options will help you identify the potential issues.