cognito-idp update-user-pool Overwrites Lambda Triggers When Not Specified In The Command #6842
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
This is different to this bug as we don't specify the lambda-config at all, nor do we need to (this is handled by terraform) |
Beta Was this translation helpful? Give feedback.
-
Following up on this I checked the docs and there is this section
Which makes me think this is intended peculiar behaviour due to how the API works |
Beta Was this translation helpful? Give feedback.
-
Hi @kurtislamb, I think you answered your own question - this is how the API works. I'll pass along your feedback and use case to the Cognito team though! |
Beta Was this translation helpful? Give feedback.
-
It's kind of hard to automate against an API designed like this. I have to go through a number of additional steps that seem very unnecessary. The way the docs describe doing a And trying to automate that process is pretty annoying. It is, of course, doable, but it would be a heck of a lot easier if only the specific section I want to update got updated when I call |
Beta Was this translation helpful? Give feedback.
Following up on this I checked the docs and there is this section
Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using [DescribeUserPool](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html) . If you don’t provide a value for an attribute, it will be set to the default value.
Which makes me think this is intended peculiar behaviour due to how the API works