Skip to content

Commit

Permalink
Last copy button.
Browse files Browse the repository at this point in the history
Signed-off-by: Archer <[email protected]>
  • Loading branch information
Naarcha-AWS committed Dec 4, 2024
1 parent 6b67c52 commit bb4677b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export STAGE=dev
export AWS_REGION=us-west-2
/opensearch-migrations/deployment/cdk/opensearch-service-migration/accessContainer.sh migration-console ${STAGE} ${AWS_REGION}
```
{% include copy.html %}

When opening the console a message will appear above the command prompt, `Welcome to the Migration Assistant Console`.

Expand All @@ -29,6 +30,6 @@ export SERVICE_NAME=migration-console
export TASK_ARN=$(aws ecs list-tasks --cluster migration-${STAGE}-ecs-cluster --family "migration-${STAGE}-${SERVICE_NAME}" | jq --raw-output '.taskArns[0]')
aws ecs execute-command --cluster "migration-${STAGE}-ecs-cluster" --task "${TASK_ARN}" --container "${SERVICE_NAME}" --interactive --command "/bin/bash"
```

{% include copy.html %}

Typically, `STAGE` is equivalent to a standard `dev` environment, but this may vary based on what the user specified during deployment.

0 comments on commit bb4677b

Please sign in to comment.