why would `pulumi stack ls` not be showing all sta...
# general
d
why would
pulumi stack ls
not be showing all stacks, when using S3 backend?
w
It is currently scoped to the backend you are logged in to. So if you store your stacks in different s3 buckets, you will only see ones in the same bucket.
d
this seems to be a problem when I create a stack on one machine and then try and work with it on another
$ pulumi login --cloud-url <s3://dc-synchronicity-pulumi/synchronicity-idm>
Copy code
$ pulumi stack ls
NAME  LAST UPDATE  RESOURCE COUNT
there definitely definitely is stack state in that bucket
in Pulumi.yaml
Copy code
backend:
  url: <s3://dc-synchronicity-pulumi/synchronicity-idm>
ah, no, it’s because
PULUMI_CONFIG_PASSPHRASE
was either wrong or not set - that seems to cause
pulumi stack ls
to fail silently