Skip to content

[BUG] Migration Assistant deployment fails without proper CDK Bootstrap setup #1217

@jugal-chauhan

Description

@jugal-chauhan

What is the bug?

I've identified an issue where the Migration Assistant (MA) deployment fails when the AWS account and region are not properly bootstrapped for CDK. When attempting to deploy the Migration Assistant, I encountered a failure in creating the CloudFormation Stack if CDK Bootstrap is not set up correctly in the target region.

What are your migration environments?

I am in the middle of migrating ElasticSearch 7.10 to OpenSearch 2.17 using MA. Deployments are local and within dev/test

How can one reproduce the bug?

Steps to reproduce the behavior.
Source 1 : OpenSearch.org documentation
Source 2 : AWS Solutions

  • Attempt to deploy the Migration Assistant in a region where CDK Bootstrap is not set up.
  • The deployment fails on the first step, unable to create the CloudFormation Stack

Error Message

"Unable to fetch parameters [/cdk-bootstrap/hnb659fds/version] from parameter store for this account"

Do you have any additional context?

The current documentation may not adequately cover these prerequisites, which could lead to confusion for users attempting to deploy the Migration Assistant.

Workaround / Solution ?

make sure to execute CDK Bootstrap in your AWS account within the same region. Follow steps provided here in AWS Documentation.

Possible Next Steps

  • update the Migration Assistant documentation to include CDK Bootstrap setup steps as prerequisites
  • consider adding a check in the deployment process to verify if CDK Bootstrap is properly setup, and provide clear instructions if it's not

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions