Hey everyone! Is it possible to update the environ...
# python
f
Hey everyone! Is it possible to update the environment variable in an already created pulumi cloud run object(gcp.cloudrunv2.Service)? I want to add a pubsub subscription id as a part of the environment variable list but it depends on the push endpoint url from the same cloud run. So I have to update it after the the creation of both subscription and cloud run. Can anyone help me with this?
m
How would you do it when creating this infrastructure manually, e.g., via the CLI?
f
I can either add manually in the console, or cli
m
Can you be more specific? You should be able to replicate what you do via the CLI in your Pulumi code. Either through the resource directly, or by making a call with the GCP SDK to update the environment variables once you have all the necessary information.