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.
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.