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 7f0698c commit f1619e3Copy full SHA for f1619e3
packages/core/src/awsService/ec2/sshKeyPair.ts
@@ -37,9 +37,10 @@ export class SshKeyPair {
37
if (!keyGenerated) {
38
throw new ToolkitError('ec2: Unable to generate ssh key pair with either ed25519 or rsa')
39
}
40
- if (!(await fs.exists(keyPath))) {
41
- throw new ToolkitError(`ec2: Failed to generate keys, resulting key not found at ${keyPath}`)
42
- }
+ // This throws on windows.
+ // if (!(await fs.exists(keyPath))) {
+ // throw new ToolkitError(`ec2: Failed to generate keys, resulting key not found at ${keyPath}`)
43
+ // }
44
45
46
public static async generateSshKeyPair(keyPath: string): Promise<void> {
0 commit comments