質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
Firebaseで、
|
1
|
+
Firebaseで、プロジェクトAにデプロイしていた関数を、firebase use <プロジェクトBのID>としてからfirebase deploy --only functionsとしてプロジェクトBにもデプロイしようとすると、
|
2
2
|
|
3
3
|
|
4
4
|
|
5
5
|
⚠ functions[movePastEvent(us-central1)]: Deployment error.
|
6
6
|
|
7
|
-
Build failed: Unable to build your function due to VPC Service Controls. The Cloud Build service account associated with this function needs an appropriate access level on the service perimeter. Please grant access to the Cloud Build service account: '**__<
|
7
|
+
Build failed: Unable to build your function due to VPC Service Controls. The Cloud Build service account associated with this function needs an appropriate access level on the service perimeter. Please grant access to the Cloud Build service account: '**__<プロジェクトA, Bとは異なるプロジェクトID>__**@cloudbuild.gserviceaccount.com' by following the instructions at https://cloud.google.com/access-context-manager/docs/create-access-level#members-example.
|
8
8
|
|
9
9
|
|
10
10
|
|
@@ -12,4 +12,4 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
|
15
|
+
再びfirebase use <プロジェクトAのID>としてデプロイすると成功するのですが、異なるプロジェクトに同じ関数をデプロイするためには、firebase useでプロジェクトを切り替える以外にも何かする必要があるのでしょうか?
|