https://pulumi.com logo
g

gifted-island-55702

10/10/2018, 8:38 PM
Hi! Is it possible to create a GCP project from Pulumi (as a Pulumi resource)?
g

glamorous-printer-66548

10/10/2018, 8:41 PM
yes, used it myself already
Copy code
const project = new gcp.organizations.Project(
  desiredProjectId,
  {
    name: desiredProjectId,
    projectId: desiredProjectId,
    billingAccount: GCP_BILLING_ACCOUNT_ID,
    orgId: GCP_ORG_ID
  },
  { protect: true }
);
g

gifted-island-55702

10/10/2018, 8:56 PM
Oh, it’s in organizations module - thank you!