setheliot / aws-well-architected-labs

Hands on labs and code to help you learn, measure, and build using architectural best practices.
http://aws.amazon.com/well-architected
Apache License 2.0
1 stars 0 forks source link

DeployDMS can fail because RR stack is not yet complete #39

Closed setheliot closed 4 years ago

setheliot commented 5 years ago

It looks like WaitForRDSRRStack1 does not have a path to DeployFailedState1 (the WaitForRDSStack1 uses RDSStackCompleteChoice to do this), therefore if the Wait Lambda times-out, it moves on the DeployDMS, which then fails when it tries to retrieve the DB Server name here from the RR stack outputs (which do not yet exist).

Redriving the Lambda (or presumably the entire workflow) once the RR stack is complete, fixes this

setheliot commented 4 years ago

This issues was fixed in PR https://github.com/awslabs/aws-well-architected-labs/pull/60. The state machine was updated to ensure RR stack (and RDS) stacks are complete before proceeding