Skip to content

Commit d9a44c6

Browse files
r1c0xapeabodybharathkkb
authored
feat!: add boot_disk_kms_key variable for node pools to GA modules (#1371)
* Add boot_disk_kms_key variable for node pools * Update README.md for boot_disk_kms_key variable * Bump min supported version of the provider since boot_disk_kms_key attribute is moving out of beta * re run build * loose match test Co-authored-by: Andrew Peabody <andrewpeabody@google.com> Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
1 parent 335c62a commit d9a44c6

File tree

27 files changed

+52
-32
lines changed

27 files changed

+52
-32
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ The node_pools variable takes the following parameters:
246246
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
247247
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
248248
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
249+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
249250
| disk_size_gb | Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB | 100 | Optional |
250251
| disk_type | Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') | pd-standard | Optional |
251252
| effect | Effect for the taint | | Required |

Diff for: autogen/main/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ The node_pools variable takes the following parameters:
186186
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
187187
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
188188
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
189+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
189190
{% if beta_cluster %}
190191
| cpu_manager_policy | The CPU manager policy on the node. One of "none" or "static". | "static" | Optional |
191192
| cpu_cfs_quota | Enforces the Pod's CPU limit. Setting this value to false means that the CPU limits for Pods are ignored | null | Optional |

Diff for: autogen/main/cluster.tf.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,6 @@ resource "google_container_node_pool" "windows_pools" {
747747
}
748748
}
749749

750-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
751-
752750
dynamic "kubelet_config" {
753751
for_each = length(setintersection(
754752
keys(each.value),
@@ -779,6 +777,8 @@ resource "google_container_node_pool" "windows_pools" {
779777
{% endif %}
780778
{% endif %}
781779

780+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
781+
782782
shielded_instance_config {
783783
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
784784
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: autogen/main/versions.tf.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ terraform {
2424
required_providers {
2525
google-beta = {
2626
source = "hashicorp/google-beta"
27-
version = ">= 4.29.0, < 5.0"
27+
version = ">= 4.31.0, < 5.0"
2828
}
2929
kubernetes = {
3030
source = "hashicorp/kubernetes"
@@ -38,7 +38,7 @@ terraform {
3838
required_providers {
3939
google = {
4040
source = "hashicorp/google"
41-
version = ">= 4.29.0, < 5.0"
41+
version = ">= 4.31.0, < 5.0"
4242
}
4343
kubernetes = {
4444
source = "hashicorp/kubernetes"

Diff for: cluster.tf

+4
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,8 @@ resource "google_container_node_pool" "pools" {
425425
}
426426

427427

428+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
429+
428430
shielded_instance_config {
429431
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
430432
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
@@ -575,6 +577,8 @@ resource "google_container_node_pool" "windows_pools" {
575577
}
576578

577579

580+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
581+
578582
shielded_instance_config {
579583
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
580584
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: modules/beta-autopilot-private-cluster/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google-beta = {
2323
source = "hashicorp/google-beta"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: modules/beta-autopilot-public-cluster/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google-beta = {
2323
source = "hashicorp/google-beta"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: modules/beta-private-cluster-update-variant/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ The node_pools variable takes the following parameters:
313313
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
314314
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
315315
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
316+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
316317
| cpu_manager_policy | The CPU manager policy on the node. One of "none" or "static". | "static" | Optional |
317318
| cpu_cfs_quota | Enforces the Pod's CPU limit. Setting this value to false means that the CPU limits for Pods are ignored | null | Optional |
318319
| cpu_cfs_quota_period | The CPU CFS quota period value, which specifies the period of how often a cgroup's access to CPU resources should be reallocated | null | Optional |

Diff for: modules/beta-private-cluster-update-variant/cluster.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,6 @@ resource "google_container_node_pool" "pools" {
662662
}
663663
}
664664

665-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
666-
667665
dynamic "kubelet_config" {
668666
for_each = length(setintersection(
669667
keys(each.value),
@@ -691,6 +689,8 @@ resource "google_container_node_pool" "pools" {
691689
}
692690
}
693691

692+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
693+
694694
shielded_instance_config {
695695
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
696696
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
@@ -867,8 +867,6 @@ resource "google_container_node_pool" "windows_pools" {
867867
}
868868
}
869869

870-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
871-
872870
dynamic "kubelet_config" {
873871
for_each = length(setintersection(
874872
keys(each.value),
@@ -883,6 +881,8 @@ resource "google_container_node_pool" "windows_pools" {
883881
}
884882

885883

884+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
885+
886886
shielded_instance_config {
887887
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
888888
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: modules/beta-private-cluster-update-variant/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google-beta = {
2323
source = "hashicorp/google-beta"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: modules/beta-private-cluster/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ The node_pools variable takes the following parameters:
291291
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
292292
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
293293
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
294+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
294295
| cpu_manager_policy | The CPU manager policy on the node. One of "none" or "static". | "static" | Optional |
295296
| cpu_cfs_quota | Enforces the Pod's CPU limit. Setting this value to false means that the CPU limits for Pods are ignored | null | Optional |
296297
| cpu_cfs_quota_period | The CPU CFS quota period value, which specifies the period of how often a cgroup's access to CPU resources should be reallocated | null | Optional |

Diff for: modules/beta-private-cluster/cluster.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,6 @@ resource "google_container_node_pool" "pools" {
571571
}
572572
}
573573

574-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
575-
576574
dynamic "kubelet_config" {
577575
for_each = length(setintersection(
578576
keys(each.value),
@@ -600,6 +598,8 @@ resource "google_container_node_pool" "pools" {
600598
}
601599
}
602600

601+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
602+
603603
shielded_instance_config {
604604
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
605605
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
@@ -775,8 +775,6 @@ resource "google_container_node_pool" "windows_pools" {
775775
}
776776
}
777777

778-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
779-
780778
dynamic "kubelet_config" {
781779
for_each = length(setintersection(
782780
keys(each.value),
@@ -791,6 +789,8 @@ resource "google_container_node_pool" "windows_pools" {
791789
}
792790

793791

792+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
793+
794794
shielded_instance_config {
795795
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
796796
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: modules/beta-private-cluster/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google-beta = {
2323
source = "hashicorp/google-beta"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: modules/beta-public-cluster-update-variant/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ The node_pools variable takes the following parameters:
300300
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
301301
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
302302
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
303+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
303304
| cpu_manager_policy | The CPU manager policy on the node. One of "none" or "static". | "static" | Optional |
304305
| cpu_cfs_quota | Enforces the Pod's CPU limit. Setting this value to false means that the CPU limits for Pods are ignored | null | Optional |
305306
| cpu_cfs_quota_period | The CPU CFS quota period value, which specifies the period of how often a cgroup's access to CPU resources should be reallocated | null | Optional |

Diff for: modules/beta-public-cluster-update-variant/cluster.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,6 @@ resource "google_container_node_pool" "pools" {
643643
}
644644
}
645645

646-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
647-
648646
dynamic "kubelet_config" {
649647
for_each = length(setintersection(
650648
keys(each.value),
@@ -672,6 +670,8 @@ resource "google_container_node_pool" "pools" {
672670
}
673671
}
674672

673+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
674+
675675
shielded_instance_config {
676676
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
677677
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
@@ -848,8 +848,6 @@ resource "google_container_node_pool" "windows_pools" {
848848
}
849849
}
850850

851-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
852-
853851
dynamic "kubelet_config" {
854852
for_each = length(setintersection(
855853
keys(each.value),
@@ -864,6 +862,8 @@ resource "google_container_node_pool" "windows_pools" {
864862
}
865863

866864

865+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
866+
867867
shielded_instance_config {
868868
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
869869
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: modules/beta-public-cluster-update-variant/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google-beta = {
2323
source = "hashicorp/google-beta"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: modules/beta-public-cluster/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ The node_pools variable takes the following parameters:
278278
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
279279
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
280280
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
281+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
281282
| cpu_manager_policy | The CPU manager policy on the node. One of "none" or "static". | "static" | Optional |
282283
| cpu_cfs_quota | Enforces the Pod's CPU limit. Setting this value to false means that the CPU limits for Pods are ignored | null | Optional |
283284
| cpu_cfs_quota_period | The CPU CFS quota period value, which specifies the period of how often a cgroup's access to CPU resources should be reallocated | null | Optional |

Diff for: modules/beta-public-cluster/cluster.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,6 @@ resource "google_container_node_pool" "pools" {
552552
}
553553
}
554554

555-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
556-
557555
dynamic "kubelet_config" {
558556
for_each = length(setintersection(
559557
keys(each.value),
@@ -581,6 +579,8 @@ resource "google_container_node_pool" "pools" {
581579
}
582580
}
583581

582+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
583+
584584
shielded_instance_config {
585585
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
586586
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
@@ -756,8 +756,6 @@ resource "google_container_node_pool" "windows_pools" {
756756
}
757757
}
758758

759-
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
760-
761759
dynamic "kubelet_config" {
762760
for_each = length(setintersection(
763761
keys(each.value),
@@ -772,6 +770,8 @@ resource "google_container_node_pool" "windows_pools" {
772770
}
773771

774772

773+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
774+
775775
shielded_instance_config {
776776
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
777777
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: modules/beta-public-cluster/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google-beta = {
2323
source = "hashicorp/google-beta"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: modules/private-cluster-update-variant/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ The node_pools variable takes the following parameters:
280280
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
281281
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
282282
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
283+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
283284
| disk_size_gb | Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB | 100 | Optional |
284285
| disk_type | Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') | pd-standard | Optional |
285286
| effect | Effect for the taint | | Required |

Diff for: modules/private-cluster-update-variant/cluster.tf

+4
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,8 @@ resource "google_container_node_pool" "pools" {
529529
}
530530

531531

532+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
533+
532534
shielded_instance_config {
533535
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
534536
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
@@ -680,6 +682,8 @@ resource "google_container_node_pool" "windows_pools" {
680682
}
681683

682684

685+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
686+
683687
shielded_instance_config {
684688
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
685689
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: modules/private-cluster-update-variant/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google = {
2323
source = "hashicorp/google"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: modules/private-cluster/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ The node_pools variable takes the following parameters:
258258
| auto_repair | Whether the nodes will be automatically repaired | true | Optional |
259259
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage | true | Optional |
260260
| auto_upgrade | Whether the nodes will be automatically upgraded | true (if cluster is regional) | Optional |
261+
| boot_disk_kms_key | The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. | " " | Optional |
261262
| disk_size_gb | Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB | 100 | Optional |
262263
| disk_type | Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') | pd-standard | Optional |
263264
| effect | Effect for the taint | | Required |

Diff for: modules/private-cluster/cluster.tf

+4
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ resource "google_container_node_pool" "pools" {
438438
}
439439

440440

441+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
442+
441443
shielded_instance_config {
442444
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
443445
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
@@ -588,6 +590,8 @@ resource "google_container_node_pool" "windows_pools" {
588590
}
589591

590592

593+
boot_disk_kms_key = lookup(each.value, "boot_disk_kms_key", "")
594+
591595
shielded_instance_config {
592596
enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
593597
enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)

Diff for: modules/private-cluster/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google = {
2323
source = "hashicorp/google"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

Diff for: test/integration/node_pool/controls/gcloud.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535

3636
describe "cluster-autoscaling" do
3737
it "has the expected cluster autoscaling settings" do
38-
expect(data['autoscaling']).to eq({
39-
"autoprovisioningNodePoolDefaults" => {
38+
expect(data['autoscaling']).to include({
39+
"autoprovisioningNodePoolDefaults" => including({
4040
"imageType"=>"COS_CONTAINERD",
4141
"oauthScopes" => %w(https://www.googleapis.com/auth/cloud-platform),
4242
"serviceAccount" => "default"
43-
},
43+
}),
4444
"autoscalingProfile" => "OPTIMIZE_UTILIZATION",
4545
"enableNodeAutoprovisioning" => true,
4646
"resourceLimits" => [

Diff for: versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ terraform {
2121
required_providers {
2222
google = {
2323
source = "hashicorp/google"
24-
version = ">= 4.29.0, < 5.0"
24+
version = ">= 4.31.0, < 5.0"
2525
}
2626
kubernetes = {
2727
source = "hashicorp/kubernetes"

0 commit comments

Comments
 (0)