Skip to content

UserPoolIdentityProvider not being handled properly by CloudFormation

0

I have a CloudFormation stack that provisions UserPoolIdentityProviders (OpenID Connect). The resources show up in the CloudFormation console as 'AWS::Cognito::UserPoolIdentityProvider'. I find that these identity providers will sometimes get removed from the Cognito UserPool but CloudFormation still shows them as existing. The only way to get them back is to modify the template to remove the provider, apply the change, and then modify the template again to bring the resource back. Does anyone have a workaround / suggestion?

1 Answer
0
  1. Verify resource drift in AWS CloudFormation.
  2. Adjust CloudFormation update policies if needed.
  3. Monitor CloudFormation and CloudTrail logs.
EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.