Join Slack
Powered by
This message was deleted.
# general
s
sparse-intern-71089
05/15/2020, 10:22 PM
This message was deleted.
f
faint-table-42725
05/15/2020, 10:28 PM
You can use the KeyPair resource:
https://www.pulumi.com/docs/reference/pkg/aws/ec2/keypair/
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/
🙌 1
Open in Slack
Previous
Next