Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Emile Hofsink authored and Emile Hofsink committed Sep 22, 2024
2 parents 51f6469 + b951305 commit 9102f2e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6845,8 +6845,13 @@ func containerClusterAutopilotCustomizeDiff(_ context.Context, d *schema.Resourc
if err := d.SetNew("networking_mode", "VPC_NATIVE"); err != nil {
return err
}
}
return nil
}
// Additive VPC Scope DNS domain is supported in Autopilot but only on creation.
// If additive_vpc_scope_dns_domain is changed and enable_autopilot is true, force recreation.
if d.HasChange("dns_config.0.additive_vpc_scope_dns_domain") && d.Get("enable_autopilot").(bool) {
return d.ForceNew("dns_config.0.additive_vpc_scope_dns_domain")
}
return nil
}

// node_version only applies to the default node pool, so it should conflict with remove_default_node_pool = true
Expand Down

0 comments on commit 9102f2e

Please sign in to comment.