https://pulumi.com logo
#general
Title
# general
a

average-dream-51210

05/22/2019, 11:13 PM
Hm, so I just created a Cognito User Pool through Pulumi, and I editted an attribute to be required from false to true. It deleted Cognito and made a Replacement. What If I wanted to change an attribute without deleting and replacing Cognito?
w

white-balloon-205

05/22/2019, 11:39 PM
This is an unfortunate aspect of the Cognito API, and is somewhat surprisingly also true in CloudFormation and in Terraform. I spent some time a few months back trying to fix this - and I believe it is possible to fix in both Pulumi and Terraform - but I wasn’t able to finish up the work at the time. If you open an issue to track this, I’ll see if I can dust that work off.
a

average-dream-51210

05/23/2019, 12:07 AM
Poop 😞 Thanks!!
Would greatly be indebted to you if a fix was made! Thanks!