You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Pulumi, the generated output types for the properties of talos.machine.Secrets resource are different from the generated input types of e.g. the function talos.machine.getConfiguration. This results in that we can't immediately pass the property downstream, resulting in issues like #80.
I discussed this with a few of the Pulumi product engineers, only to conclude that it currently is not possible to fluently pass composite outputs immediately as inputs downstream, and this consistently in all of Pulumi's supported programming languages.
This is definitely a first case of resources returning a composite type, so I file a feature request for this: pulumi/pulumi#15883
In the meantime, I will investigate how to rework the Pulumi Talos Linux provider for the best user experience.
The text was updated successfully, but these errors were encountered:
This issue is to communicate the roadblock I bumped into while trying to map output types to specific generated Pulumi SDK types.
In the TF provider, one can pass a composite output from the
talos_machine_secrets
resource further downstream:In Pulumi, the generated output types for the properties of
talos.machine.Secrets
resource are different from the generated input types of e.g. the functiontalos.machine.getConfiguration
. This results in that we can't immediately pass the property downstream, resulting in issues like #80.I discussed this with a few of the Pulumi product engineers, only to conclude that it currently is not possible to fluently pass composite outputs immediately as inputs downstream, and this consistently in all of Pulumi's supported programming languages.
This is definitely a first case of resources returning a composite type, so I file a feature request for this: pulumi/pulumi#15883
In the meantime, I will investigate how to rework the Pulumi Talos Linux provider for the best user experience.
The text was updated successfully, but these errors were encountered: