We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f31ac88 commit 4f36289Copy full SHA for 4f36289
packages/core/src/awsService/ec2/sshKeyPair.ts
@@ -37,6 +37,7 @@ export class SshKeyPair {
37
if (!keyGenerated) {
38
throw new ToolkitError('ec2: Unable to generate ssh key pair with either ed25519 or rsa')
39
}
40
+ // waitUntil avoids Windows race condition of using key right after creation.
41
const maxRetries = 5
42
await waitUntil(
43
async () => {
0 commit comments