Closed chelma closed 7 months ago
I'm pretty sure the README is just out of date, as the code indicates [1] we'll bootstrap the region automatically if the deployment as part of cluster-create
fails because it hasn't been done.
[1] https://github.com/arkime/aws-aio/blob/main/manage_arkime/cdk_interactions/cdk_client.py#L66-L75
Yeah, confirmed - we do kick off the bootstrap if it hasn't been done. The README is out of date, will fix.
2024-01-17 08:01:31 - Executing command: deploy MyCluster-CaptureBucket MyCluster-CaptureNodes MyCluster-CaptureVPC MyCluster-OSDomain MyCluster-ViewerNodes
2024-01-17 08:01:31 - NOTE: This operation can take a while. You can 'tail -f' the logfile to track the status.
2024-01-17 08:03:16 - The AWS Account/Region does not appear to be CDK Bootstrapped, which is required for deployment. Attempting to bootstrap now...
2024-01-17 08:03:16 - Executing command: bootstrap aws://XXXXXXXXXXXX/ap-southeast-2
2024-01-17 08:03:16 - NOTE: This operation can take a while. You can 'tail -f' the logfile to track the status.
2024-01-17 08:04:46 - Bootstrap succeeded
2024-01-17 08:04:46 - Executing command: deploy MyCluster-CaptureBucket MyCluster-CaptureNodes MyCluster-CaptureVPC MyCluster-OSDomain MyCluster-ViewerNodes
Code merged; issues should be resolved. Closing.
Description
When performing a manual
cdk bootstrap
, the CDK CLI seems to be looking for the ENV variable set/configured by the Arkime AWS AIO CLI, resulting in the command failing: