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

big-judge-36176

02/03/2024, 1:03 AM
Hi everyone! How can I create a
gcp.secretmanager.Secret
and pass the value as the password for a
gcp.sql.User
? From the docs it's not clear how the plain text version of the password can be accessed from the Secret instance - if I try to fetch it via
gcp.secretmanager.get_secret_version_access
, the secret doesn't yet exist in GCP.
Sorry, never mind, I just realized I can generate a secret and pass to
gcp.secretmanager.SecretVersion
.