1

I am following an official AWS skill Builder tutorial entitled "Automating the Deployment Pipeline". I am able to initialize my serverless project with a "hello world" template, but when I attempt to initialize my code pipeline, I get through all of the setup propmts but at the very end when it asks "Should we proceed with the creation? [y/N]", i get the "Updating the required resources..." message followed by the following error message:

 File "samcli/__main__.py", line 12, in <module>
 File "click/core.py", line 1130, in __call__
 File "click/core.py", line 1055, in main
 File "click/core.py", line 1657, in invoke
 File "click/core.py", line 1657, in invoke
 File "click/core.py", line 1404, in invoke
 File "click/core.py", line 760, in invoke
 File "click/decorators.py", line 84, in new_func
 File "click/core.py", line 760, in invoke
 File "samcli/lib/telemetry/metric.py", line 175, in wrapped
 File "samcli/lib/telemetry/metric.py", line 150, in wrapped
 File "samcli/commands/pipeline/init/cli.py", line 42, in cli
 File "samcli/commands/pipeline/init/cli.py", line 51, in do_cli
 File "samcli/commands/pipeline/init/interactive_init_flow.py", line 80, in 
 do_interactive
 File "samcli/commands/pipeline/init/interactive_init_flow.py", line 105, in 
 _generate_from_app_pipeline_templates
 File "samcli/commands/pipeline/init/interactive_init_flow.py", line 250, in 
 _generate_from_pipeline_template
 File "samcli/commands/pipeline/init/interactive_init_flow.py", line 190, in 
 _prompt_run_bootstrap_within_pipeline_init
 File "samcli/commands/pipeline/bootstrap/cli.py", line 403, in do_cli
 File "samcli/lib/pipeline/bootstrap/stage.py", line 293, in bootstrap
 File "samcli/lib/utils/managed_cloudformation_stack.py", line 89, in update_stack
 File "samcli/lib/utils/managed_cloudformation_stack.py", line 185, in 
 _create_or_update_stack
 File "samcli/lib/utils/managed_cloudformation_stack.py", line 290, in _update_stack
 File "botocore/waiter.py", line 54, in wait
 File "botocore/waiter.py", line 351, in wait
 botocore.exceptions.WaiterError: Waiter StackUpdateComplete failed: Waiter 
 encountered a terminal failure state: For expression "Stacks[].StackStatus" we 
 matched expected path: "UPDATE_ROLLBACK_COMPLETE" at least once

I am fairly new to AWS and have no idea why it keeps failing, as I beleive that I am following the tutorial to the tee. Formgive me if me if y question is too vague. Any feedback to point me in the right direction is much appreciated.

qb1234
  • 155
  • 2
  • 14

0 Answers0