pulumi / pulumi-yaml

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

Test docker version against resolved package #435

Closed iwahbe closed 1 year ago

iwahbe commented 1 year ago

To prevent users creating a v3. instance of docker:Image (an overlay resource), we have special checks in pulumi-yaml. We were checking against the requested version, which meant that not specifying a version resulted in an error, even when the default package loaded was >=4..

This PR changes the check to run agains the resolved package version.