What do you mean? As in just having parts of your ...
# general
e
What do you mean? As in just having parts of your state missing?
s
I think so, @echoing-dinner-19531.
I am currently trying to use the snowflake provider. It looks like in the resource object for the provider, the credentials are also recorded, albeit in encrypted form (
ciphertext
key).
e
Yeh that's expected
s
What I'm trying to figure out is: Can Pulumi simply omit the ciphertext from this object? Or is this somehow necessary for its regular function? If I understand correctly, when running Pulumi it pulls credentials from the Pulumi.<stack>.yml file, not the state file.
e
it does both
depending on exactly the operation being done, so yeh it has to be there for things to work correctly in all cases
s
Ah, interesting
Out of curiosity, do you know an example where the credential from the state file would be needed?
e
couple that come to mind: run a destroy operation outside the project directory run a replace operation where we need to use the old configuration because the provider says the new configuration can't be used on old resource
s
Got it