Open clstokes opened 3 years ago
If I provision a docker container, and then changes its ports, pulumi does not pick up this change and shows no diff.
ports
The upstream provider behaves as expected so this appears specific to the Pulumi provider.
pulumi up
ports: [...]
pulumi pre
Expected: the running container should have been replaced Actual: nothing
import * as docker from "@pulumi/docker"; const nginxImage = new docker.RemoteImage("nginx", { name: "nginx" }); const nginxContainer = new docker.Container("nginx", { image: nginxImage.latest, ports: [{ internal: 8080 }], });
{ "name": "p-ts-docker-container-ports", "devDependencies": { "@types/node": "^10.0.0" }, "dependencies": { "@pulumi/docker": "^3.0.0", "@pulumi/pulumi": "^3.0.0" } }
Still repros today
If I provision a docker container, and then changes its
ports
, pulumi does not pick up this change and shows no diff.The upstream provider behaves as expected so this appears specific to the Pulumi provider.
Steps to reproduce
pulumi up
the code belowports: [...]
property on the containerpulumi pre
Expected: the running container should have been replaced Actual: nothing
Code to reproduce