pulumi / pulumi-yaml

YAML language provider for Pulumi
Apache License 2.0
39 stars 12 forks source link

Handle output receivers in property evaluation #490

Closed Frassle closed 1 year ago

Frassle commented 1 year ago

Fixes https://github.com/pulumi/pulumi-yaml/issues/489.

These tests could be improved except the Go SDK doesn't actually support using unknowns in the mock library (see https://github.com/pulumi/pulumi/blob/master/sdk/go/pulumi/mocks.go#L192-L195 where we don't set KeepUnknowns true so they just get removed).

I'll raise a change for that and we should revisit these tests once a version of pu/pu is released to support proper mocking of previews.