https://pulumi.com logo
#general
Title
# general
f

famous-receptionist-48776

10/26/2022, 7:38 AM
Hello team: I just want create eks cluster on cn-north-1 region. But a error comes to me when create nodegroup:
Copy code
aws:eks:NodeGroup (default):
    error: 1 error occurred:
        * error creating EKS Node Group (dev-cnn1:default20221014114406636600000007): InvalidParameterException: Following required service principals [[<http://ec2.amazonaws.com.cn|ec2.amazonaws.com.cn> ](<https://console.amazonaws.cn/support/ec2.amazonaws.com.cn)>] were not found in the trusionships of nodeRole arn:aws-cn:iam::888888888888:role/dev-cnn1-instanceRole-role-963e580
    {
      RespMetadata: {
        StatusCode: 400,
        RequestID: "c8d401ae-bc7c-4039-9115-65d848c595d9"
      },
      ClusterName: "dev-cnn1",
      Message_: "Following required service principals [[<http://ec2.amazonaws.com.cn|ec2.amazonaws.com.cn> ](<https://console.amazonaws.cn/support/ec2.amazonaws.com.cn)>] were not found in the trust relationships of nodeRole arn:aws-cn:iam::888888888888:role/dev-cnn1-instanceRole-role-963e580
      NodegroupName: "default20221014114406636600000007"
    }
Will you please help to reveiw my PR to fix this ? https://github.com/pulumi/pulumi-eks/pull/801