diff --git a/examples/cluster-go/main.go b/examples/cluster-go/main.go index d714b00be..c447c83cb 100644 --- a/examples/cluster-go/main.go +++ b/examples/cluster-go/main.go @@ -39,10 +39,18 @@ func main() { return err } + cluster4, err := eks.NewCluster(ctx, "example-cluster-4", &eks.ClusterArgs{ + IpFamily: pulumi.StringPtr("ipv6"), + }) + if err != nil { + return err + } + // Export the kubeconfig for clusters ctx.Export("kubeconfig1", cluster1.Kubeconfig) ctx.Export("kubeconfig2", cluster2.Kubeconfig) ctx.Export("kubeconfig3", cluster3.Kubeconfig) + ctx.Export("kubeconfig4", cluster4.Kubeconfig) return nil }) } diff --git a/examples/examples_go_test.go b/examples/examples_go_test.go index 5d835bc92..cd31e5e70 100644 --- a/examples/examples_go_test.go +++ b/examples/examples_go_test.go @@ -35,6 +35,7 @@ func TestAccClusterGo(t *testing.T) { info.Outputs["kubeconfig1"], info.Outputs["kubeconfig2"], info.Outputs["kubeconfig3"], + info.Outputs["kubeconfig4"], ) }, }) @@ -70,7 +71,7 @@ func getGoBaseOptions(t *testing.T) integration.ProgramTestOptions { "aws:region": region, }, Dependencies: []string{ - "github.com/pulumi/pulumi-eks/sdk", + "github.com/pulumi/pulumi-eks/sdk/v2", }, Verbose: true, })