Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jugal-chauhan opened this issue Jan 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@jugal-chauhan
Copy link
Collaborator

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
@jugal-chauhan jugal-chauhan added bug Something isn't working untriaged labels Jan 3, 2025
@sumobrian
Copy link
Collaborator

This issue has been resolved: #1214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants