https://pulumi.com logo
#general
Title
# general
l

little-cartoon-10569

10/20/2022, 3:30 AM
Is the implementation of pulumi-docker considered idiomatic / "correct"? Specifically, that the resource constructors do actual work, including building images? In cloud-centric packages, all work is done in providers, once the Pulumi engine is called. But for Pulumi docker, work is being done in our Pulumi code, before the engine gets involved. As it currently stands, it's not possible to write unit tests with these resources.
It seems like this architecture could be considered a bug.
@steep-sunset-89396 Would you be able to find someone with an opinion on this? I think it's a bug.. I've just raised this issue: https://github.com/pulumi/pulumi-docker/issues/402
s

steep-sunset-89396

10/20/2022, 7:52 PM
As far as I know, we have some ongoing work to improve the Docker provider. What you are describing in the issue is a know behavior that we aim at changing in a future rework of that provider.
l

little-cartoon-10569

10/20/2022, 7:54 PM
Can I bring the issue to the attention of a team member who'd be willing to mark it as in-progress or similar? I'd like to be able to update my clients who are affected by this.
s

steep-sunset-89396

10/20/2022, 8:11 PM
My suggestion would be to detail your current situation in the github issue (no need for names) with as much details as possible, especially on the impact/pain this is causing. If you could add some context on any deadlines, that would be very helpful.
l

little-cartoon-10569

10/20/2022, 8:12 PM
Okay
2 Views