File tree Expand file tree Collapse file tree 16 files changed +40
-299
lines changed Expand file tree Collapse file tree 16 files changed +40
-299
lines changed Original file line number Diff line number Diff line change @@ -18,30 +18,13 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 600s"
35
- }
36
-
37
21
/* *****************************************
38
22
Provider credential configuration
39
23
*****************************************/
40
24
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
25
+ impersonate_service_account = local . tf_sa
42
26
}
43
27
44
28
provider "google-beta" {
45
- access_token = data . google_service_account_access_token . default . access_token
29
+ impersonate_service_account = local . tf_sa
46
30
}
47
-
Original file line number Diff line number Diff line change @@ -18,30 +18,13 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 600s"
35
- }
36
-
37
21
/* *****************************************
38
22
Provider credential configuration
39
23
*****************************************/
40
24
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
25
+ impersonate_service_account = local . tf_sa
42
26
}
43
27
44
28
provider "google-beta" {
45
- access_token = data . google_service_account_access_token . default . access_token
29
+ impersonate_service_account = local . tf_sa
46
30
}
47
-
Original file line number Diff line number Diff line change @@ -18,30 +18,13 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 600s"
35
- }
36
-
37
21
/* *****************************************
38
22
Provider credential configuration
39
23
*****************************************/
40
24
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
25
+ impersonate_service_account = local . tf_sa
42
26
}
43
27
44
28
provider "google-beta" {
45
- access_token = data . google_service_account_access_token . default . access_token
29
+ impersonate_service_account = local . tf_sa
46
30
}
47
-
Original file line number Diff line number Diff line change @@ -18,30 +18,13 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 600s"
35
- }
36
-
37
21
/* *****************************************
38
22
Provider credential configuration
39
23
*****************************************/
40
24
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
25
+ impersonate_service_account = local . tf_sa
42
26
}
43
27
44
28
provider "google-beta" {
45
- access_token = data . google_service_account_access_token . default . access_token
29
+ impersonate_service_account = local . tf_sa
46
30
}
47
-
Original file line number Diff line number Diff line change @@ -18,32 +18,16 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 1200s"
35
- }
36
21
37
22
/* *****************************************
38
23
Provider credential configuration
39
24
*****************************************/
40
25
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
42
- request_timeout = " 60s"
26
+ impersonate_service_account = local . tf_sa
27
+ request_timeout = " 60s"
43
28
}
44
29
45
30
provider "google-beta" {
46
- access_token = data . google_service_account_access_token . default . access_token
47
- request_timeout = " 60s"
31
+ impersonate_service_account = local . tf_sa
32
+ request_timeout = " 60s"
48
33
}
49
-
Original file line number Diff line number Diff line change @@ -18,32 +18,16 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 1200s"
35
- }
36
21
37
22
/* *****************************************
38
23
Provider credential configuration
39
24
*****************************************/
40
25
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
42
- request_timeout = " 60s"
26
+ impersonate_service_account = local . tf_sa
27
+ request_timeout = " 60s"
43
28
}
44
29
45
30
provider "google-beta" {
46
- access_token = data . google_service_account_access_token . default . access_token
47
- request_timeout = " 60s"
31
+ impersonate_service_account = local . tf_sa
32
+ request_timeout = " 60s"
48
33
}
49
-
Original file line number Diff line number Diff line change @@ -18,32 +18,16 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 1200s"
35
- }
36
21
37
22
/* *****************************************
38
23
Provider credential configuration
39
24
*****************************************/
40
25
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
42
- request_timeout = " 60s"
26
+ impersonate_service_account = local . tf_sa
27
+ request_timeout = " 60s"
43
28
}
44
29
45
30
provider "google-beta" {
46
- access_token = data . google_service_account_access_token . default . access_token
47
- request_timeout = " 60s"
31
+ impersonate_service_account = local . tf_sa
32
+ request_timeout = " 60s"
48
33
}
49
-
Original file line number Diff line number Diff line change @@ -18,32 +18,16 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 1200s"
35
- }
36
21
37
22
/* *****************************************
38
23
Provider credential configuration
39
24
*****************************************/
40
25
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
42
- request_timeout = " 60s"
26
+ impersonate_service_account = local . tf_sa
27
+ request_timeout = " 60s"
43
28
}
44
29
45
30
provider "google-beta" {
46
- access_token = data . google_service_account_access_token . default . access_token
47
- request_timeout = " 60s"
31
+ impersonate_service_account = local . tf_sa
32
+ request_timeout = " 60s"
48
33
}
49
-
Original file line number Diff line number Diff line change @@ -18,29 +18,14 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 1200s"
35
- }
36
21
37
22
/* *****************************************
38
23
Provider credential configuration
39
24
*****************************************/
40
25
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
26
+ impersonate_service_account = local . tf_sa
42
27
}
43
28
44
29
provider "google-beta" {
45
- access_token = data . google_service_account_access_token . default . access_token
30
+ impersonate_service_account = local . tf_sa
46
31
}
Original file line number Diff line number Diff line change @@ -18,29 +18,13 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 1200s"
35
- }
36
-
37
21
/* *****************************************
38
22
Provider credential configuration
39
23
*****************************************/
40
24
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
25
+ impersonate_service_account = local . tf_sa
42
26
}
43
27
44
28
provider "google-beta" {
45
- access_token = data . google_service_account_access_token . default . access_token
29
+ impersonate_service_account = local . tf_sa
46
30
}
Original file line number Diff line number Diff line change @@ -18,29 +18,14 @@ locals {
18
18
tf_sa = var. terraform_service_account
19
19
}
20
20
21
- provider "google" {
22
- alias = " impersonate"
23
-
24
- scopes = [
25
- " https://www.googleapis.com/auth/cloud-platform" ,
26
- " https://www.googleapis.com/auth/userinfo.email" ,
27
- ]
28
- }
29
-
30
- data "google_service_account_access_token" "default" {
31
- provider = google. impersonate
32
- target_service_account = local. tf_sa
33
- scopes = [" userinfo-email" , " cloud-platform" ]
34
- lifetime = " 1200s"
35
- }
36
21
37
22
/* *****************************************
38
23
Provider credential configuration
39
24
*****************************************/
40
25
provider "google" {
41
- access_token = data . google_service_account_access_token . default . access_token
26
+ impersonate_service_account = local . tf_sa
42
27
}
43
28
44
29
provider "google-beta" {
45
- access_token = data . google_service_account_access_token . default . access_token
30
+ impersonate_service_account = local . tf_sa
46
31
}
You can’t perform that action at this time.
0 commit comments