https://pulumi.com logo
Title
c

crooked-laptop-67565

12/15/2022, 11:32 PM
Hi, I've just upgrade
@pulumi/awsx
to
1.0.1
and I'm now getting an error that
buildAndPushImage
does not exist on an instance of
awsx.ecr.Repository
. The docs refer to the function but their link is broken (shows as
[buildAndPushImage]
) and it does seem like the method is missing. Is this a bug? https://www.pulumi.com/registry/packages/awsx/api-docs/ecr/repository/
l

limited-rainbow-51650

12/16/2022, 8:50 AM
@crooked-laptop-67565 from which version did you upgrade to 1.0.1?
If it was from a version before 1.0.0, you will have to change your imports from
awsx
to
awsx-classic
. The pre-1.0.0 version was a pure Typescript implemented version, while v1.0.0 and later is a Pulumi Package. In this 1.x package, we added the previous version under the
awsx-classic
namespace.
c

crooked-laptop-67565

01/09/2023, 6:59 PM
Sorry, I had completely missed your reply. Thanks for that 🙂