pulumi / pulumi-aws

An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS
Apache License 2.0
466 stars 158 forks source link

Panic on latest version v6.62.0 #4863

Open corymhall opened 3 hours ago

corymhall commented 3 hours ago

Describe what happened

Using the latest version will fail with a panic

panic: fatal: error An assertion has failed: Failed to read schema-embed.json. source error: read schema-embed.json/: is a directory

goroutine 1 [running]:

Sample program


new aws.s3.BucketV2('bucket');

Log output

No response

Affected Resource(s)

No response

Output of pulumi about

CLI
Version 3.142.0 Go Version go1.23.3 Go Compiler gc

Plugins KIND NAME VERSION

resource aws 6.62.0

Host
OS darwin Version 15.1.1 Arch arm64

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).

jaxxstorm commented 2 hours ago

Looks to be caused by https://github.com/pulumi/pulumi-aws/commit/ea37daecbb549cbf52749147da1e1cb59c2d3cbe

my guess is

//go:embed schema*embed.json
var schemas embed.FS
t0yv0 commented 2 hours ago

Apologies for the disruption. A patch release will be coming shortly with the fix.