This message was deleted.
# general
s
This message was deleted.
b
can you share your code? also what provider version are you using?
c
The code is literally taken from the blog example. How do I check provider version?
b
pulumi about
from your project directory
c
Copy code
CLI          
Version      3.34.1
Go Version   go1.17.11
Go Compiler  gc

Plugins
NAME        VERSION
aws         4.37.5
aws         4.29.0
docker      3.1.0
docker      3.1.0
nodejs      unknown
postgresql  3.3.0

Host     
OS       ubuntu
Version  20.04
Arch     x86_64

Dependencies:
NAME                VERSION
@pulumi/aws         4.29.0
@pulumi/awsx        0.30.0
@pulumi/postgresql  3.3.0
@pulumi/pulumi      3.18.1
@types/node         14.17.34
b
@cuddly-magician-97620 you're using a very old version of the aws provider which is the problem. The AWS provider only got support for this in
sdk/v5.4.0
as far as I can see, I'm just confirming that
c
How do I update that provider? Edit in package.json? Currently
Copy code
"@pulumi/aws": "^4.0.0",
Bump it to
Copy code
"@pulumi/aws": "^5.0.0",
? Also, any risk to the existing stack in doing that?
b
there are some breaking changes between 4.x and 5.x mainly related to s3 buckets
but yes, that's the way
you should do that, run a
pulumi pre
and go from there
c
Thanks!