```❯ curl $(pulumi stack output url) ...
# getting-started
m
Copy code
❯ curl $(pulumi stack output url)                                                                   
hello

❯ pulumi logs                     
Collecting logs for stack dev since 2022-08-17T11:25:46.000-06:00.
And then the logs exits
The route looks like this
Copy code
{
            path: "/",
            method: "GET",
            eventHandler: async (event) => {
                console.log('get request received')
                return {
                    statusCode: 200,
                    body: "hello"
                }
            }
        },
Looks like pulumi logs is still experimental sad panda
l
pulumi logs
has always worked for me. Is it possible that the creds you're using don't have read access to CW?
m
hmmm - So my
Pulumi.dev.yaml
points to
aws:profile: demos
and if I go check `demos`’s permissions it’s
AdministratorAccess
Could I be missing something here?
I’ve been running
pulumi logs
from within the folder where the
Puliumi.dev.yaml
file is
l
I'm not familiar with the implementation of
pulumi logs
. Maybe try setting up your default / non-Pulumi creds to have the right permissions and see if that fixes it? Maybe it uses the same creds as the backend, instead of the project...