@@ -527,14 +527,14 @@ func TestAccResourceLKECluster_controlPlane(t *testing.T) {
527527 ),
528528 },
529529 {
530- Config : tmpl .ControlPlane (t , clusterName , k8sVersionLatest , testRegion , testIPv4Updated , testIPv6Updated , true , false ),
530+ Config : tmpl .ControlPlane (t , clusterName , k8sVersionLatest , testRegion , testIPv4Updated , testIPv6Updated , true , true ),
531531 Check : resource .ComposeTestCheckFunc (
532532 resource .TestCheckResourceAttr (resourceClusterName , "label" , clusterName ),
533533 resource .TestCheckResourceAttr (resourceClusterName , "pool.#" , "1" ),
534534 resource .TestCheckResourceAttr (resourceClusterName , "pool.0.count" , "1" ),
535535 resource .TestCheckResourceAttr (resourceClusterName , "pool.0.autoscaler.#" , "0" ),
536536 resource .TestCheckResourceAttr (resourceClusterName , "control_plane.0.high_availability" , "true" ),
537- resource .TestCheckResourceAttr (resourceClusterName , "control_plane.0.acl.0.enabled" , "false " ),
537+ resource .TestCheckResourceAttr (resourceClusterName , "control_plane.0.acl.0.enabled" , "true " ),
538538 resource .TestCheckResourceAttr (resourceClusterName , "control_plane.0.acl.0.addresses.0.ipv4.0" , testIPv4Updated ),
539539 resource .TestCheckResourceAttr (resourceClusterName , "control_plane.0.acl.0.addresses.0.ipv6.0" , testIPv6Updated ),
540540 ),
0 commit comments