Closed guineveresaenger closed 1 year ago
@guineveresaenger I've added workaround information to the top of this issue while I work on a change to address. That workaround isn't valid yet, but will be when the PR which adds an error message referencing it is merged.
YAML workaround
To use Docker image resources, declare a default provider to use the v4 provider:
Refer to https://github.com/pulumi/pulumi-docker for the latest release version(s).
Currently we disallow Docker Image resource from being used with yaml.
As of pulumi-docker v4.0, this resource is schematized and therefore YAML compatible.
It was suggested we remove the error in favor of a warning, letting users know this resource will not work in YAML for pulumi-docker v3.x and lower.