https://pulumi.com logo
#general
Title
# general
w

wide-island-42641

06/26/2023, 7:00 AM
an idea where to get this ssh key
l

little-cartoon-10569

06/26/2023, 8:32 AM
That is a requirement of your Pulumi project, not Pulumi. Somewhere, you code is calling
config.require("sshPublicKey")
. You will have to review your source code to learn more.
s

salmon-account-74572

06/26/2023, 3:01 PM
@wide-island-42641 Without seeing your code, it’s difficult/nearly impossible to determine exactly what resource is requiring an SSH public key. It kind of looks like you might be using the VM template (used with
pulumi new
), in which case the VM resource requires an SSH public key. As @little-cartoon-10569 indicates, you need to use
pulumi config set sshPublicKey <value>
to set the configuration value. You can use
ssh-keygen
locally (assuming you are on macOS or Linux or an equivalent OS) to generate an SSH key pair, and then use the public key portion with
pulumi config set
. Let us know if you have further questions!