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
I have a component resource AutoDeployer with input property downstream (the recursive reference). downstream is an array of AutoDeployer.
From within the component, I want to read input properties on the downstream AutoDeploy resources that get passed in and create other resources from those inputs.
Since I could not figure out the appropriate types and pulumi struct tags, I had to change the type of downstream to be an array of stringInput which is unfortunately not as type-safe:
export const b = new AutoDeployer("auto-deployer-b", {
org,
project,
stack: "b",
downstream: [d.stackRef, e.stackRef, f.stackRef],
});
The text was updated successfully, but these errors were encountered:
Maybe this is already supported? I couldn't figure out how to do it.
I have some component resource code I'm trying to port from a typescript component into a go MLC with
pulumi-go-provider
:https://github.com/pulumi/pulumi-auto-deploy-old/blob/main/index.ts#L61-L76
I have a component resource
AutoDeployer
with input propertydownstream
(the recursive reference).downstream
is an array ofAutoDeployer
.From within the component, I want to read input properties on the
downstream
AutoDeploy resources that get passed in and create other resources from those inputs.Since I could not figure out the appropriate types and pulumi struct tags, I had to change the type of
downstream
to be an array ofstringInput
which is unfortunately not as type-safe:The text was updated successfully, but these errors were encountered: