-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow docker:Image
as a resource for docker v4+
#421
Labels
Milestone
Comments
bors bot
added a commit
to pulumi/pulumi
that referenced
this issue
Dec 7, 2022
11570: testing: Allow plugin testing users to define their own plugin sets r=AaronFriel a=AaronFriel Updating Pulumi YAML to address pulumi/pulumi-yaml#421 and pulumi/pulumi-yaml#422, requires testing against the Docker v4.0.0-alpha.0 schema. That required updating this repo, and using Go workspaces/module replacement to allow the deploytest plugin loader to find the prerelease schema. This change allows Pulumi YAML to define its own set of required plugins, decoupling the two repos and preventing the catch-22 here. Because this repo will need to support the new example being authored which will serve as a test of #421 and #422, this also adds Docker v4.0.0-alpha.0 as a schema. Co-authored-by: Aaron Friel <[email protected]>
@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. |
bors bot
added a commit
to pulumi/pulumi
that referenced
this issue
Dec 7, 2022
11570: testing: Allow plugin testing users to define their own plugin sets r=AaronFriel a=AaronFriel Updating Pulumi YAML to address pulumi/pulumi-yaml#421 and pulumi/pulumi-yaml#422, requires testing against the Docker v4.0.0-alpha.0 schema. That required updating this repo, and using Go workspaces/module replacement to allow the deploytest plugin loader to find the prerelease schema. This change allows Pulumi YAML to define its own set of required plugins, decoupling the two repos and preventing the catch-22 here. Because this repo will need to support the new example being authored which will serve as a test of #421 and #422, this also adds Docker v4.0.0-alpha.0 as a schema. Co-authored-by: Aaron Friel <[email protected]>
aq17
added
resolution/fixed
This issue was fixed
kind/enhancement
Improvements or new features
labels
Dec 7, 2022
Fixed via #423 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
The text was updated successfully, but these errors were encountered: