# golang


05/12/2022, 3:26 PM
Hello, trying to create an EKS cluster with a managed node group using EKS crosswalk for AWS, I get a strange error which doesn’t speak to me. Here is the code
Copy code
cluster, err := eks.NewCluster(ctx, "test",
		ProviderCredentialOpts: &eks.KubeconfigOptionsArgs{
			RoleArn: pulumi.String("<arn>"),
		CreateOidcProvider:   pulumi.Bool(true),
		SkipDefaultNodeGroup: pulumi.Bool(true),
if err != nil {
	return fmt.Errorf("failed to create EKS cluster: %w", err)

_, err = eks.NewManagedNodeGroup(ctx, "ng1",
		Cluster: cluster.Core,
if err != nil {
	return fmt.Errorf("failed to create EKS managed node group: %w", err)
and here is the error
Copy code
Previewing update (test):
     Type                 Name                      Plan     Info
     pulumi:pulumi:Stack  pulumi-test-test           1 error; 2 messages
  pulumi:pulumi:Stack (pulumi-test-test):
    error: program failed: waiting for RPCs: marshaling properties: awaiting input property cluster: expected a ec2.SecurityGroup, got a resource of type ec2.SecurityGroup
    exit status 1
    error: an unhandled error occurred: program exited with non-zero exit code: 1
Do you know what this error means? Should I post this message in #aws instead?
I’m not sure but maybe it’s related to
Yes, after upgrading to the latest release, it works 😉