We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As per documentation we added a RegisterOutputs() call to the end of our component resources.
RegisterOutputs()
If you have an output value like this:
[OutputType] public sealed class ComplexOutput { public readonly string Name; [OutputConstructor] private ComplexOutput(string name) Name = name; } }
And use this in a component resource
public sealed class MyComponentResource: ComponentResource { public MyComponentResource(string name, Args args, ComponentResourceOptions? options = null) : base("myType" name, args, options) { Output = Output.Create(new ComplexOutput("someValue")) RegisterOutputs() } [Output("output")] public Output<ComplexOutput> Output { get; init; } }
A an exception will be raised "DatacenterOutput is not a supported argument type" in Pulumi.Serialization.Serializer.SerializeAsync
The text was updated successfully, but these errors were encountered:
Similar to #377
Sorry, something went wrong.
I think it is also related to #58
No branches or pull requests
As per documentation we added a
RegisterOutputs()
call to the end of our component resources.If you have an output value like this:
And use this in a component resource
The text was updated successfully, but these errors were encountered: