This message was deleted.
# google-cloud
s
This message was deleted.
s
I would imagine if you take a dependency on the project when creating other infrastructure assets (i.e., use
project_name
or
project_id
or similar as an input when creating the other assets) then Pulumi should handle the dependencies correctly. Are you doing that now and itโ€™s not working as expected?
a
Thanks that fixed it @salmon-account-74572, updated the bucket creation code from:
Copy code
bucket1 = storage.Bucket(f"bucket-{client_codename}", location="us-east1", project=project_id)
to:
Copy code
bucket1 = storage.Bucket(f"bucket-{client_codename}", location="us-east1", project=project.project_id)
s
Awesome, glad we could help!
a
Yes, thanks for the prompt response. appreciate it. I am happy to be able to use Python as opposed to YAML ๐Ÿ˜‰
s
Feel free to spread the word about Pulumi!
๐Ÿ‘ 1