Thread
#getting-started
    m

    microscopic-piano-27908

    1 month ago
    ❯ 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
    {
                path: "/",
                method: "GET",
                eventHandler: async (event) => {
                    console.log('get request received')
                    return {
                        statusCode: 200,
                        body: "hello"
                    }
                }
            },
    Looks like pulumi logs is still experimental 😒ad-panda:
    l

    little-cartoon-10569

    1 month ago
    pulumi logs
    has always worked for me. Is it possible that the creds you're using don't have read access to CW?
    m

    microscopic-piano-27908

    1 month ago
    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

    little-cartoon-10569

    1 month ago
    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...