Skip to content

Commit

Permalink
Merge pull request #908 from GoogleCloudPlatform/ludo/gke-autopilot-d…
Browse files Browse the repository at this point in the history
…atapath

GKE module: autopilot fixes
  • Loading branch information
juliocc authored Oct 25, 2022
2 parents d9ccf04 + 6242607 commit 39f76b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gke-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "google_container_cluster" "cluster" {
initial_node_count = 1
remove_default_node_pool = var.enable_features.autopilot ? null : true
datapath_provider = (
var.enable_features.dataplane_v2
var.enable_features.dataplane_v2 || var.enable_features.autopilot
? "ADVANCED_DATAPATH"
: "DATAPATH_PROVIDER_UNSPECIFIED"
)
Expand Down

0 comments on commit 39f76b3

Please sign in to comment.