Open joshwils82 opened 1 week ago
I am also having this issue
Oh interesting. Thanks for the pointer.
In my case it turned out, that I created the CognitoUserPool and afterwards modified some configuration of it which affected already created schema attributes. This does not work by design in a Cognito User Pool. My solution was to remove and recreate the CognitoUserPool. Be careful with the attributes.
When adding a sst.aws.CognitoUserPool, the sst deploy will run successfully on the first deploy but fail on an update with the following error.
here is an example sst.config.ts
Please note that the same error occurs with the pulumi aws.cognito.UserPool resource but it can be worked around by adding the
ignoreChanges: ["schemas"]
option. Currently, the sst construct does not pass the options to the pulumi resource so this work around does not work for sst.My suggestion would be to support the options on the sst construct as it will likely be useful in other cases as well.
sst ion version: 0.0.473