Skip to content

Commit

Permalink
Switched to using channel-based versions for TestAccContainerCluster_…
Browse files Browse the repository at this point in the history
…updateVersion (GoogleCloudPlatform#10689)
  • Loading branch information
melinath authored May 14, 2024
1 parent 272c241 commit 38504fb
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6135,7 +6135,8 @@ data "google_container_engine_versions" "central1a" {
resource "google_container_cluster" "with_version" {
name = "%s"
location = "us-central1-a"
min_master_version = data.google_container_engine_versions.central1a.valid_master_versions[3]
min_master_version = data.google_container_engine_versions.central1a.release_channel_default_version["STABLE"]
node_version = data.google_container_engine_versions.central1a.release_channel_default_version["STABLE"]
initial_node_count = 1
deletion_protection = false
network = "%s"
Expand Down Expand Up @@ -6171,8 +6172,8 @@ data "google_container_engine_versions" "central1a" {
resource "google_container_cluster" "with_version" {
name = "%s"
location = "us-central1-a"
min_master_version = data.google_container_engine_versions.central1a.latest_master_version
node_version = data.google_container_engine_versions.central1a.valid_node_versions[1]
min_master_version = data.google_container_engine_versions.central1a.release_channel_latest_version["STABLE"]
node_version = data.google_container_engine_versions.central1a.release_channel_latest_version["STABLE"]
initial_node_count = 1
deletion_protection = false
network = "%s"
Expand Down

0 comments on commit 38504fb

Please sign in to comment.