Examples using removed Pulumi AWS v2 SDK
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 894
- Avg merge
- 12h 19m
- Merged PRs (30d)
- 39
Description
What happened?
Some TS examples are outdated - they try to use the AWS v2 SDK via @pulumi/aws (aws.sdk) which was removed in 2023. You get an error like Property 'sdk' does not exist on type 'typeof import("/deployment/node_modules/@pulumi/aws/index")'.
Plus there are two examples on the pulumi.com website’s serverless page that use the removed property (e.g., aws.sdk.DynamoDB.DocumentClient()).
Example
Follow the instructions for the aws-ts-url-shortener-cache-http example.
Output of pulumi about
CLI
Version 3.173.0
Go Version go1.24.3
Go Compiler gc
Plugins
KIND NAME VERSION
language nodejs 3.173.0
Host
OS darwin
Version 15.5
Arch arm64
This project is written in nodejs: executable='/Users/REDACTED/.nvm/versions/node/v22.11.0/bin/node' version='v22.11.0'
Current Stack: REDACTED/stack-test-02/dev
TYPE URN
pulumi:pulumi:Stack urn:pulumi:dev::stack-test-02::pulumi:pulumi:Stack::stack-test-02-dev
Found no pending operations associated with dev
Backend
Name pulumi.com
URL https://app.pulumi.com/REDACTED
User REDACTED
Organizations REDACTED
Token type personal
Dependencies:
NAME VERSION
@pulumi/pulumi 3.175.0
@types/node 18.19.111
typescript 5.8.3
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).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by following the instructions for the aws-ts-url-shortener-cache-http example and searching the TypeScript examples for aws.sdk references. Also inspect the two serverless-page examples on pulumi.com; done means the affected examples and page no longer use the removed property and the example instructions work successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100