This message was deleted.
# general
s
This message was deleted.
l
Yes. Are you usnig
pulumi import
, or
pulumi up
with the
import:
opt?
pulumi import
should generate that for you...
Though.. maybe not, I know in AWS, the service deliberately forgets about the private key. You have to retain that yourself.
j
Hi, I'm using pulumi import from the gcp self managed cert instructions.
l
And it's not generating code for the private key.. then I guess you need to provide it yourself. It's inconvenient, but it makes sense: there's probably no API that Pulumi can use to get the private key from GCP. That's what makes it private...
j
It's odd though because when doing an import with terraform it works fine with just a reference to the existing certificate name in gcp. The private key and cert exist in gcp so I guess just a reference to the resource is enough?
Copy code
terraform import google_compute_ssl_certificate.default {{project}}/{{name}}
l
Not sure... maybe share the question over to #CRFUR2DGB? Someone with more specific knowledge might be able to help.
j
ok thanks for looking into it!