https://pulumi.com logo
#getting-started
Title
# getting-started
h

handsome-cartoon-53454

03/25/2024, 11:46 AM
Hello, very inexperienced with IaC and Pulumi and I'm probably getting ahead of myself here, but I wanted the ability to create GCP projects using Pulumi and add billing etc. The demos and initial cli setup operation assume that such things are already set up. I was wondering if someone could point me to some resources on this topic.
s

stale-france-71715

03/25/2024, 2:27 PM
Hi David. Im not entirely sure what your asking. Setup of GCP account and billing?
h

handsome-cartoon-53454

03/25/2024, 4:45 PM
I was after a programmatic solution. Let's say user
mr_xyz
makes a merge request and I want to spin up a temporary project
mr_xyz_merge_1234
and only allow the merge to proceed if the deploy is successful. In this case the GCP project would need to be spun up, billing assigned, apis enabled, etc. The demos provided by Pulumi appear to assume the project is already setup. This is a bit advanced for me, but I wanted to do some reading.
h

hallowed-horse-57635

03/25/2024, 8:31 PM
What provider are you using ? (classic or native) / native does support project creation and billing ac/info (not 100% sure for an independent project without a parent project)