pulumi / docs

All things Pulumi docs!
https://pulumi.com
Apache License 2.0
127 stars 222 forks source link

several things are off in the docs #11487

Open kayden1940 opened 6 months ago

kayden1940 commented 6 months ago

What happened?

Any s3 related examples are using acl which deprecated from aws. I really think that it's problem that all resources I could gather (the exmaple repo, guides from the website, pulumi ai) all are pointing to dead end.

My actual question is below:

I was deploying examples/aws-ts-apigateway and got this from the lambda cloudwatch "Runtime.ImportModuleError: Error: Cannot find module '@aws-sdk/client-dynamodb/dist-cjs/index.js'",

the only working example i tried after a week of is the hello world example in apigateway https://github.com/pulumi/pulumi-aws-apigateway/blob/0fdd3b2e492a09392a0184c4acc6defe4da77ef0/examples/simple/index.ts

the lambda.CallbackFunction isn't even documented in the doc https://www.pulumi.com/registry/packages/aws/api-docs/lambda/

What I really want is just a functional crud api using lambda and dyanmodb.

Example

.

Output of pulumi about

.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

justinvp commented 6 months ago

Hi, thanks for opening the issue and sorry for the trouble. I'm going to transfer to the docs repo and someone will take a look.