https://pulumi.com logo
Title
b

brief-football-29481

04/09/2023, 2:57 AM
I don't like that you have to set
gcp:project
in a file in order to be able to run
pulumi up
since then it's visible in your repo...
b

brainy-church-78120

04/09/2023, 3:51 AM
you can set it as a secret if you want to protect that information
a

able-crayon-21563

04/09/2023, 10:19 PM
I typically have a separate Pulumi stack for each environment that I deploy to. Of course, I use a separate GCP project for each environment, and set the
gcp:project
in the stack configuration. As @brainy-church-78120 mentioned, use Secrets to protect configuration values as you see fit. https://www.pulumi.com/docs/intro/concepts/secrets/