This message was deleted.
# general
s
This message was deleted.
w
See https://pulumi-community.slack.com/archives/CB81H6DG9/p1580516824010500 for a related discussion. Also cc @broad-dog-22463 who may be able to help here.
f
Ah that seems like the exact issue. There are deprecated fields looking at the schema. So will have to see if I can rename them.
@white-balloon-205 @broad-dog-22463 Now I am getting another weird error. When it does the dotnet build I get this
Copy code
RkeCluster.cs(10741,21): error CS0100: The parameter name 'roles' is a duplicate [/Users/mitch.maler/Downloads/pulumi-rke/sdk/dotnet/Pulumi.Rke.csproj]
RkeCluster.cs(10701,33): error CS0102: The type 'RkeClusterNodes' already contains a definition for 'Roles' [/Users/mitch.maler/Downloads/pulumi-rke/sdk/dotnet/Pulumi.Rke.csproj]
RkeCluster.cs(5159,31): error CS0102: The type 'RkeClusterNodesArgs' already contains a definition for 'Roles' [/Users/mitch.maler/Downloads/pulumi-rke/sdk/dotnet/Pulumi.Rke.csproj]
RkeCluster.cs(5277,31): error CS0102: The type 'RkeClusterNodesGetArgs' already contains a definition for 'Roles' [/Users/mitch.maler/Downloads/pulumi-rke/sdk/dotnet/Pulumi.Rke.csproj]
Looking at the code I see this so it is duplicating fields
Copy code
ImmutableArray<string> roles,
string? roles,
Looking in the rke code there are two fields Roles and Role https://github.com/rancher/terraform-provider-rke/blob/master/rke/schema_rke_cluster_node.go#L21 Not sure where it is confusing those
The weird thing is in the cs code there is no field named Role so it is making the singular one plural?