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

strong-helmet-83704

02/02/2023, 8:47 PM
does anyone use the
pulumi logs
command? This seems really cool and useful but every time i go to use it i get
error: failed to get logs:
* no AWS region found
Seems to be a common issue https://github.com/pulumi/pulumi/issues/1926 Perhaps related to assume-role style auth?
b

billowy-army-68599

02/02/2023, 9:07 PM
@strong-helmet-83704 the provider auth and the cli auth are different. how do you auth to aws?
s

strong-helmet-83704

02/02/2023, 9:50 PM
using an sts assume-role pattern…
b

billowy-army-68599

02/02/2023, 9:58 PM
do you set the region in your stack and also in your aws profile?
s

strong-helmet-83704

02/02/2023, 10:04 PM
set via env var and in the stack config
Now i see
Copy code
pulumi logs -f -v=9                                                                                                                                                               
Collecting logs for stack
But no other output
I just realized this is an experimental feature. Is there any plan to support this? it seems very useful…