This message was deleted.
s
This message was deleted.
h
Your best bet is to use the
import
argument, I think. That way the secret becomes "managed". Pulumi's model doesn't work really well with conditional infrastructure.
Hmm, looking at your other message I think I'm asnwering a different question. I was assumign the secret already existed and was (currently) managed outside pulumi.
q
Nope. I want to create it once, then use it going forward on subsequent runs
h
Use the
random.RandomPassword
resource
Unlcear to me how to avoid plaintext in the state file with that tho 😞
q
That worked! Thanks so much