Join Slack
Powered by
This message was deleted.
# golang
s
sparse-intern-71089
07/06/2021, 8:18 PM
This message was deleted.
b
bored-table-20691
07/08/2021, 10:56 PM
@bright-sandwich-93783
I believe you can have an applier function that returns an error:
https://pkg.go.dev/github.com/pulumi/pulumi/sdk@v1.14.1/go/pulumi#OutputState.ApplyT
bored-table-20691
07/08/2021, 10:59 PM
You can also see in the code that an Output (e.g. StringOutput) will internally store whether it is rejected/errored:
https://github.com/pulumi/pulumi/blob/sdk/v3.6.1/sdk/go/pulumi/types.go#L77
25
Views
Open in Slack
Previous
Next