pulumi / ci-mgmt

Configuration for all things CI
Apache License 2.0
9 stars 4 forks source link

Providers: Roll out Go Generics #601

Open t0yv0 opened 11 months ago

t0yv0 commented 11 months ago

We need to make sure Go Generics are enabled on each provider. TBD exactly what is involved here, likely a simple configuration change for bridged providers but some manual work for every native provider.

Platform team is tracking the work in https://github.com/pulumi/pulumi/issues/9143

Native Providers

Bridged Providers

Tier 1

Tier 2

dirien commented 11 months ago

Hey @t0yv0,

does this mean, currently only the AWS provider support generics?

I try to use the azure-native v2, and I get following message:

Cannot use 'registry.Name' (type pulumi.StringOutput) as the type Input[A1] Type does not
implement 'Input[A1]' need the method: ToOutput(context.Context) Output[T] have the method:
ToOutput(ctx context.Context) pulumix.Output[string]
t0yv0 commented 11 months ago

Thanks for asking @dirien ! Not on my radar this iteration, but we'll make sure to announce once the support lands CC @mikhailshilkov .