capabilities.work

Provision Folder with Project

A 4-step recipe with Google Cloud Platform. We can help you get access.

Recipe · 4 steps

Provision Folder with Project

Create a folder then a project nested inside it, waiting on each operation.

  1. Create the folder under the organization. Returns a long-running Operation whose name is used to poll for completion.
  2. Poll the folder create operation until done and read the new folder resource name from the operation response.
  3. Create the project under the newly created folder. Returns a long-running Operation whose name is used to poll for completion.
  4. Poll the project create operation until done.
What you'll need to have ready
  • organizationParent: The organization parent for the folder, e.g. organizations/987654321.
  • folderDisplayName: The display name for the new folder.
  • projectId: The project id to create under the new folder.
  • projectDisplayName: An optional display name for the project.
For your developer

Arazzo workflow google-cloud-platform:provision-folder-with-project, 4 operations: cloudresourcemanager.folders.create → cloudresourcemanager.operations.get → cloudresourcemanager.projects.create → cloudresourcemanager.operations.get. Specs on APIs.io.