-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app): Intermittent Cognito user add bug
As discussed in the below GH issue, we were seeing intermittent stack deployment errors due to the AwsCustomResource for creating the demo Cognito user. Upgrading CDK did not help by itself, but disabling install_latest_aws_sdk *seems* to have made the configuration stable.
- Loading branch information
Showing
4 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# aws-cdk-lib>=2.109.0 for Python 3.12 Lambda runtime, smstudio.domain to be able to set the | ||
# "StudioWebPortal" user setting to force classic Studio experience | ||
aws-cdk-lib==2.126.0 | ||
aws-cdk.aws-lambda-python-alpha==2.126.0-alpha.0 | ||
# >=2.140 to try and avoid 'Package @aws-sdk/client-cognito-identity-provider does not exist.' on | ||
# AwsCustomResource (this version includes fix for related failure to upgrade AWS SDK) | ||
# See: https://github.com/aws/aws-cdk/issues/30067 | ||
aws-cdk-lib==2.140.0 | ||
aws-cdk.aws-lambda-python-alpha==2.140.0-alpha.0 | ||
constructs>=10.0.0,<11.0.0 | ||
upsert-slr>=1.0.2,<2 |