File tree 3 files changed +10
-2
lines changed
products/firebaseapphosting
templates/terraform/examples
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,22 @@ examples:
31
31
primary_resource_id : example
32
32
vars :
33
33
backend_id : " mini"
34
+ service_act_id : " firebase-app-hosting-compute"
34
35
test_env_vars :
35
36
project_id : " PROJECT_NAME"
37
+ test_vars_overrides :
38
+ # prevent tests from colliding with each other
39
+ service_act_id : ' "tf-test-fah-minimal"'
36
40
- name : firebase_app_hosting_backend_full
37
41
primary_resource_id : example
38
42
vars :
39
43
backend_id : " full"
44
+ service_act_id : " firebase-app-hosting-compute"
40
45
test_env_vars :
41
46
project_id : " PROJECT_NAME"
47
+ test_vars_overrides :
48
+ # prevent tests from colliding with each other
49
+ service_act_id : ' "tf-test-fah-full"'
42
50
- name : firebase_app_hosting_backend_github
43
51
primary_resource_id : example
44
52
vars :
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ resource "google_service_account" "service_account" {
26
26
project = "{{index $.TestEnvVars "project_id"}}"
27
27
28
28
# Must be firebase-app-hosting-compute
29
- account_id = "firebase-app-hosting-compute "
29
+ account_id = "{{index $.Vars "service_act_id"}} "
30
30
display_name = "Firebase App Hosting compute service account"
31
31
32
32
# Do not throw if already exists
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ resource "google_service_account" "service_account" {
16
16
project = "{{index $.TestEnvVars "project_id"}}"
17
17
18
18
# Must be firebase-app-hosting-compute
19
- account_id = "firebase-app-hosting-compute "
19
+ account_id = "{{index $.Vars "service_act_id"}} "
20
20
display_name = "Firebase App Hosting compute service account"
21
21
22
22
# Do not throw if already exists
You can’t perform that action at this time.
0 commit comments