aws-solutions / cloud-migration-factory-on-aws

The Cloud Migration Factory on AWS solution is designed to coordinate and automate manual processes for large-scale migrations. This solution helps enterprises improve performance and prevents long cutover windows by providing an orchestration platform for migrating workloads to AWS at scale.
https://aws.amazon.com/solutions/implementations/cloud-migration-factory-on-aws/
Apache License 2.0
61 stars 63 forks source link

MGNAPIDeploy fails to deploy #39

Open sleepwithcoffee opened 2 months ago

sleepwithcoffee commented 2 months ago

Describe the bug Cannot deploy the CFN stack due to MGNAPIDeploy failed to deploy.

To Reproduce Download v3.3.5 CloudFormation template and deploy with these parameters:

Expected behavior A clear and concise description of what you expected to happen.

Please complete the following information about the solution:

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0097) - AWS CloudEndure Migration Factory Solution. Version v1.1.0".

Screenshots

image

Additional context

sleepwithcoffee commented 2 months ago

I tried to diagnose the problem and figured out that the AppMigService might need to have some resources of ToolsAPI to be ready, adding the following DependsOn will help:

AppMigService:
    Type: AWS::CloudFormation::Stack
    DependsOn:
    - ToolsAPIDeploy

I plan to create a PR to accommodate this fix.

chris-p-baker commented 1 month ago

Hi @sleepwithcoffee, thanks for raising this issue, the PR you have provided will be pulled ASAP.