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

fancy-spoon-7206

08/30/2022, 7:48 PM
After I run
pulumi up
, the config file
Pulumi.dev.yaml
is being restructured automatically - the commented blocks are removed, all the configs are in alphabetical order .... This started happening suddenly last week. Am I missing something?
b

billowy-army-68599

08/30/2022, 8:09 PM
f

fancy-spoon-7206

08/30/2022, 8:37 PM
@billowy-army-68599 Not sure why this started happening last week. The version I had for more than 3 weeks is v3.37.2. What would be the short term solution here?
e

echoing-dinner-19531

08/30/2022, 8:55 PM
This started happening suddenly last week.
This is a long standing issue, so I suspect you changed something to start triggering this. Out of interest what secrets provider are you using and has that changed recently?
f

fancy-spoon-7206

08/30/2022, 10:21 PM
I am using the default secrets provider and
Copy code
export PULUMI_CONFIG_PASSPHRASE=""
e

echoing-dinner-19531

08/31/2022, 7:18 AM
Thanks, I'll have a look into why it's rewriting on up. 423 will continue to be a problem when pulumi needs to edit config (e.g. when setting a key, or secret salt) but hopefully we can at least fix it re-writing the file on every up.
f

fancy-spoon-7206

08/31/2022, 1:55 PM
I found the issue. I removed the encryptionsalt line in the config and that caused the issue. Even if I set PULUMI_CONFIG_PASSPHRASE to an empty string there is some form of encryption.
e

echoing-dinner-19531

08/31/2022, 4:48 PM
Ahhhh yes,
PULUMI_CONFIG_PASSPHRASE=""
means a password of empty string, not no password.
f

fancy-spoon-7206

08/31/2022, 4:53 PM
Learned the hard way. @echoing-dinner-19531 So I can never set no password?
e

echoing-dinner-19531

08/31/2022, 4:54 PM
correct, there's currently no way to disable secrets
feel free to raise an issue about this
f

fancy-spoon-7206

08/31/2022, 7:47 PM
thanks
4 Views