https://pulumi.com logo
b

best-lifeguard-91445

05/15/2020, 10:22 PM
Can you create EC2 key/pairs within pulumi? or must they be created in the AWS console, and attached by name?
f

faint-table-42725

05/15/2020, 10:28 PM
And you could generate the actual key material in code however you prefer (e.g. shell out to
ssh-keygen
or call a library or whatever)
b

best-lifeguard-91445

05/16/2020, 1:11 AM
awesome. Thanks Lee
f

faint-table-42725

05/16/2020, 3:17 AM
Oh yeah, not sure how I forgot to mention, you could also use https://www.pulumi.com/docs/reference/pkg/tls/privatekey/