File tree 8 files changed +15
-15
lines changed
beta-private-cluster-update-variant
beta-public-cluster-update-variant
private-cluster-update-variant
8 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -887,7 +887,7 @@ resource "google_container_node_pool" "windows_pools" {
887
887
min_cpu_platform = lookup(each.value, "min_cpu_platform", "")
888
888
enable_confidential_storage = lookup(each.value, "enable_confidential_storage", false)
889
889
dynamic "gcfs_config" {
890
- for_each = lookup(each.value, "enable_gcfs", false) ? [true ] : [false ]
890
+ for_each = lookup(each.value, "enable_gcfs", null ) !=null ? [each.value.enable_gcfs ] : []
891
891
content {
892
892
enabled = gcfs_config.value
893
893
}
Original file line number Diff line number Diff line change @@ -593,7 +593,7 @@ resource "google_container_node_pool" "pools" {
593
593
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
594
594
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
595
595
dynamic "gcfs_config" {
596
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
596
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
597
597
content {
598
598
enabled = gcfs_config. value
599
599
}
@@ -875,7 +875,7 @@ resource "google_container_node_pool" "windows_pools" {
875
875
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
876
876
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
877
877
dynamic "gcfs_config" {
878
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
878
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
879
879
content {
880
880
enabled = gcfs_config. value
881
881
}
Original file line number Diff line number Diff line change @@ -760,7 +760,7 @@ resource "google_container_node_pool" "pools" {
760
760
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
761
761
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
762
762
dynamic "gcfs_config" {
763
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
763
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
764
764
content {
765
765
enabled = gcfs_config. value
766
766
}
@@ -1056,7 +1056,7 @@ resource "google_container_node_pool" "windows_pools" {
1056
1056
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
1057
1057
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
1058
1058
dynamic "gcfs_config" {
1059
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
1059
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
1060
1060
content {
1061
1061
enabled = gcfs_config. value
1062
1062
}
Original file line number Diff line number Diff line change @@ -678,7 +678,7 @@ resource "google_container_node_pool" "pools" {
678
678
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
679
679
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
680
680
dynamic "gcfs_config" {
681
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
681
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
682
682
content {
683
683
enabled = gcfs_config. value
684
684
}
@@ -973,7 +973,7 @@ resource "google_container_node_pool" "windows_pools" {
973
973
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
974
974
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
975
975
dynamic "gcfs_config" {
976
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
976
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
977
977
content {
978
978
enabled = gcfs_config. value
979
979
}
Original file line number Diff line number Diff line change @@ -739,7 +739,7 @@ resource "google_container_node_pool" "pools" {
739
739
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
740
740
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
741
741
dynamic "gcfs_config" {
742
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
742
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
743
743
content {
744
744
enabled = gcfs_config. value
745
745
}
@@ -1035,7 +1035,7 @@ resource "google_container_node_pool" "windows_pools" {
1035
1035
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
1036
1036
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
1037
1037
dynamic "gcfs_config" {
1038
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
1038
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
1039
1039
content {
1040
1040
enabled = gcfs_config. value
1041
1041
}
Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ resource "google_container_node_pool" "pools" {
657
657
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
658
658
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
659
659
dynamic "gcfs_config" {
660
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
660
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
661
661
content {
662
662
enabled = gcfs_config. value
663
663
}
@@ -952,7 +952,7 @@ resource "google_container_node_pool" "windows_pools" {
952
952
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
953
953
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
954
954
dynamic "gcfs_config" {
955
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
955
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
956
956
content {
957
957
enabled = gcfs_config. value
958
958
}
Original file line number Diff line number Diff line change @@ -696,7 +696,7 @@ resource "google_container_node_pool" "pools" {
696
696
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
697
697
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
698
698
dynamic "gcfs_config" {
699
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
699
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
700
700
content {
701
701
enabled = gcfs_config. value
702
702
}
@@ -979,7 +979,7 @@ resource "google_container_node_pool" "windows_pools" {
979
979
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
980
980
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
981
981
dynamic "gcfs_config" {
982
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
982
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
983
983
content {
984
984
enabled = gcfs_config. value
985
985
}
Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ resource "google_container_node_pool" "pools" {
614
614
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
615
615
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
616
616
dynamic "gcfs_config" {
617
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
617
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
618
618
content {
619
619
enabled = gcfs_config. value
620
620
}
@@ -896,7 +896,7 @@ resource "google_container_node_pool" "windows_pools" {
896
896
min_cpu_platform = lookup (each. value , " min_cpu_platform" , " " )
897
897
enable_confidential_storage = lookup (each. value , " enable_confidential_storage" , false )
898
898
dynamic "gcfs_config" {
899
- for_each = lookup (each. value , " enable_gcfs" , false ) ? [true ] : [false ]
899
+ for_each = lookup (each. value , " enable_gcfs" , null ) != null ? [each . value . enable_gcfs ] : []
900
900
content {
901
901
enabled = gcfs_config. value
902
902
}
You can’t perform that action at this time.
0 commit comments