Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate-contacts: Bug in latest jsonschema package #15

Closed
be-aws-architect opened this issue Oct 4, 2023 · 2 comments
Closed

Alternate-contacts: Bug in latest jsonschema package #15

be-aws-architect opened this issue Oct 4, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@be-aws-architect
Copy link

Hello,

While deploying the aft-alternate-contacts solution I ran into an issue in the validate-alternate-contacts Lambda function:

[ERROR] Runtime.ImportModuleError: Unable to import module 'validate-alternate-contacts': No module named 'rpds.rpds' Traceback (most recent call last):

This is a known problem in the jsconschema package. installed version was 4.19.X. This is a known issue by the provider: python-jsonschema/jsonschema#1117

Setting the version to 4.17.3 in the requirements.txt and redeploying solved the issue.

jsonschema==4.17.3

Can you set the version constraint in the module until the issue is fixed by the provider?

@be-aws-architect
Copy link
Author

On top of that, you should either remove the concurrency limit or increase it, as it serves no function. On my second testrun, my function failed because there was another one running.. I ran it on two accounts.

@wellsiau-aws
Copy link
Contributor

concurrency issues related to #14 . Since the API call is made from AFT management account, we are are limited to the quota at AFT account level.

@wellsiau-aws wellsiau-aws self-assigned this May 6, 2024
@wellsiau-aws wellsiau-aws added the bug Something isn't working label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants