-
-
Save farcaller/deadd9cb5375549037d1de0f5479a623 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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