about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-18T17·24+0000
committerVincent Ambo <tazjin@google.com>2019-12-18T17·24+0000
commitc3d31e0ba61fd8ae2ddf3c09592fef191ac95b74 (patch)
treefdbdf1b6c69c200808097a14254914c8e02e2884
parent11022c1b88c4546fb000de2e1ac42066f63009d2 (diff)
feat(infra/gcp): Configure source repository for the depot r/181
-rw-r--r--infra/gcp/default.tf7
1 files changed, 7 insertions, 0 deletions
diff --git a/infra/gcp/default.tf b/infra/gcp/default.tf
index d13345393b..3011ec234b 100644
--- a/infra/gcp/default.tf
+++ b/infra/gcp/default.tf
@@ -27,6 +27,7 @@ resource "google_project_services" "primary" {
     "bigquerystorage.googleapis.com",
     "cloudapis.googleapis.com",
     "clouddebugger.googleapis.com",
+    "cloudfunctions.googleapis.com",
     "cloudkms.googleapis.com",
     "cloudtrace.googleapis.com",
     "compute.googleapis.com",
@@ -40,6 +41,7 @@ resource "google_project_services" "primary" {
     "monitoring.googleapis.com",
     "oslogin.googleapis.com",
     "pubsub.googleapis.com",
+    "run.googleapis.com",
     "servicemanagement.googleapis.com",
     "serviceusage.googleapis.com",
     "sourcerepo.googleapis.com",
@@ -101,3 +103,8 @@ resource "google_kms_crypto_key" "kontemplate_key" {
     prevent_destroy = true
   }
 }
+
+# Configure the git repository that contains everything.
+resource "google_sourcerepo_repository" "depot" {
+  name = "depot"
+}