Skip to content

Instantly share code, notes, and snippets.

Created March 6, 2020 22:09
What would you like to do?
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const sourcehubProject = new gcp.Provider('testproject', {
project: 'testproject',
credentials: 'admin.googleaccount',
const repos = ['apps/myapp', 'deploy/myapp'];
for (const r of repos) {
new gcp.sourcerepo.Repository(r, { name: r }, { import: r, provider: sourcehubProject });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment