Hey all. I have an interesting one here. Does anyo...
# general
a
Hey all. I have an interesting one here. Does anyone else here use nix packages manager or NixOS? I have installed pulumi from nix on my mac and my NixOS system. Both have the below warnings. Are these warnings expected with my configuration because of the package manager? If they are normal and I have not inherently broken the world, is there a way that I can suppress them?
Copy code
warning: using pulumi-resource-docker from $PATH at /etc/profiles/per-user/user/bin/pulumi-resource-docker
    warning: using pulumi-resource-PostgreSQL from $PATH at /etc/profiles/per-user/user/bin/pulumi-resource-postgresql
    warning: using pulumi-resource-aws from $PATH at /etc/profiles/per-user/user/bin/pulumi-resource-aws
    warning: using pulumi-resource-aws from $PATH at /etc/profiles/per-user/user/bin/pulumi-resource-aws
    warning: using pulumi-resource-postgresql from $PATH at /etc/profiles/per-user/user/bin/pulumi-resource-postgresql
m
Hi @astonishing-dentist-11149, I use Pulumi from NixOS and also see those warnings. Since they are only warnings, I'm not overly concerned with them and haven't seen any negative affects as of yet. But no, I haven't found a way to suppress them.
FYI, appears to be a message about "Ambient Plugins" although it's not clear exactly what those are... Here is the line in the code where the call happens: https://github.com/pulumi/pulumi/blob/2ede6a54bfe2f535da884e6d6dd8d4ad6bb53e48/sdk/go/common/workspace/plugins.go#L1959
a
Awesome. I will ignore it. And I will look at the code to understand it better. Thanks all. Just glad I have not messed up the config somehow.
@melodic-controller-16360 Do you have troubles where even though you update your packages.json ("if you are even using TS") and pulumi is still getting the old libraries. I had that problem today. The problem was mind numbing, and I finally figured out it was my instance of pulumi from nix because of how the packages were handled. I had to go back today and install with brew just so I could get work done. Working on fixing this inside pulumi. I am using pulumi-bin which seems to be the latest one on nixos. It is really badly out of date.