File tree Expand file tree Collapse file tree 11 files changed +24
-17
lines changed
k8s-infra-prow-build-trusted
workload-identity-service-account Expand file tree Collapse file tree 11 files changed +24
-17
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ terraform {
3030 required_providers {
3131 google = {
3232 source = " hashicorp/google"
33- version = " ~> 4.73.2 "
33+ version = " ~> 5.45.0 "
3434 }
3535 google-beta = {
3636 source = " hashicorp/google-beta"
37- version = " ~> 4.73.2 "
37+ version = " ~> 5.45.0 "
3838 }
3939 }
4040}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ limitations under the License.
1616
1717module "iam" {
1818 source = " terraform-google-modules/iam/google//modules/projects_iam"
19- version = " ~> 7 "
19+ version = " ~> 8.1 "
2020
2121 projects = [module . project . project_id ]
2222
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ resource "google_secret_manager_secret" "build_cluster_secrets" {
8383 group = each.value.group
8484 }
8585 replication {
86- automatic = true
86+ auto {}
8787 }
8888}
8989
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ terraform {
3030 required_providers {
3131 google = {
3232 source = " hashicorp/google"
33- version = " ~> 4.73.2 "
33+ version = " ~> 5.45.0 "
3434 }
3535 google-beta = {
3636 source = " hashicorp/google-beta"
37- version = " ~> 4.73.2 "
37+ version = " ~> 5.45.0 "
3838 }
3939 }
4040}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ limitations under the License.
1616
1717module "iam" {
1818 source = " terraform-google-modules/iam/google//modules/projects_iam"
19- version = " ~> 7 "
19+ version = " ~> 8.1 "
2020
2121 projects = [module . project . project_id ]
2222
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ resource "google_secret_manager_secret" "build_cluster_secrets" {
3939 group = each.value.group
4040 }
4141 replication {
42- automatic = true
42+ auto {}
4343 }
4444}
4545
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ terraform {
2020 required_providers {
2121 google = {
2222 source = " hashicorp/google"
23- version = " ~> 4.73.2 "
23+ version = " ~> 5.45.0 "
2424 }
2525 google-beta = {
2626 source = " hashicorp/google-beta"
27- version = " ~> 4.73.2 "
27+ version = " ~> 5.45.0 "
2828 }
2929 }
3030}
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ resource "google_container_node_pool" "node_pool" {
4646 disk_size_gb = var. disk_size_gb
4747 disk_type = var. disk_type
4848 labels = var. labels
49- taint = var. taints
5049
5150 service_account = var. service_account
5251 oauth_scopes = [" https://www.googleapis.com/auth/cloud-platform" ]
@@ -65,6 +64,14 @@ resource "google_container_node_pool" "node_pool" {
6564 metadata = {
6665 disable-legacy-endpoints = " true"
6766 }
67+ dynamic "taint" {
68+ for_each = var. taints
69+ content {
70+ effect = taint. value . effect
71+ key = taint. value . key
72+ value = taint. value . value
73+ }
74+ }
6875 }
6976
7077 // If we need to destroy the node pool, create the new one before destroying
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ terraform {
2020 required_providers {
2121 google = {
2222 source = " hashicorp/google"
23- version = " ~> 4.73.2 "
23+ version = " ~> 5.45.0 "
2424 }
2525 google-beta = {
2626 source = " hashicorp/google-beta"
27- version = " ~> 4.73.2 "
27+ version = " ~> 5.45.0 "
2828 }
2929 }
3030}
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ terraform {
2020 required_providers {
2121 google = {
2222 source = " hashicorp/google"
23- version = " ~> 4.73.2 "
23+ version = " ~> 5.45.0 "
2424 }
2525 google-beta = {
2626 source = " hashicorp/google-beta"
27- version = " ~> 4.73.2 "
27+ version = " ~> 5.45.0 "
2828 }
2929 }
3030}
You can’t perform that action at this time.
0 commit comments