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

purple-train-14007

08/12/2021, 4:29 AM
So..potentially stupid question here..is it ok to store your state files locally? I mean they’ll be added to the GitHub repo so it’ll be source controlled.
l

little-cartoon-10569

08/12/2021, 4:33 AM
Should be fine mostly. I'd look to avoid doing that with any resources that get a password, since the password would be in the state file. Even encrypted, I wouldn't want a secret stored in my SCM. YMMV.
g

great-sunset-355

08/12/2021, 9:45 AM
It should be fine, but I'd rather treat the state file as a secret. Due to the reason above.
b

broad-dog-22463

08/12/2021, 2:05 PM
Personally, I don't see the need to store state files locally - they will be in a backend of sorts and I can access them when needed. I tend to not put them into source control either
But YMMV
p

purple-train-14007

08/12/2021, 3:08 PM
setting up backend for azure is....tedious and were not allowed to use Pulumi's service (This came from our compliance folks). So I have have two issues, cant use Pulumi service and backend configuration for azure is so tedious its hard to sell compared to TF lol. So far all I got under my belt here is that Pulumi can deploy resources Terraform cannot...such as AADDS
b

broad-dog-22463

08/12/2021, 3:13 PM
ah ok...
2 Views