sfn-callback-urls icon indicating copy to clipboard operation
sfn-callback-urls copied to clipboard

errorMessage': "module 'aws_encryption_sdk' has no attribute 'KMSMasterKeyProvider'"

Open gulati-diksha opened this issue 3 years ago • 1 comments

Hi

I followed the blog post https://aws.amazon.com/blogs/aws/using-callback-urls-for-approval-emails-with-aws-step-functions/ and had the encryption enabled, however it the functionality fails as it throws an error

{'errorMessage': "module 'aws_encryption_sdk' has no attribute 'KMSMasterKeyProvider'", 'errorType': 'AttributeError', 'stackTrace': ['  File "/var/lang/lib/python3.8/imp.py", line 234, in load_module\n    return load_source(name, filename, file)\n', '  File "/var/lang/lib/python3.8/imp.py", line 171, in load_source\n    module = _load(spec)\n', '  File "<frozen importlib._bootstrap>", line 702, in _load\n', '  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked\n', '  File "<frozen importlib._bootstrap_external>", line 783, in exec_module\n', '  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n', '  File "/var/task/create_urls.py", line 50, in <module>\n    MASTER_KEY_PROVIDER = aws_encryption_sdk.KMSMasterKeyProvider(\n']}

I am trying to look and check the createUrls code but unable to do so. Can you please help me in resolving this, it's an urgent requirement.

Appreciate any help I can get @benkehoe @bbernays. Thank you.

gulati-diksha avatar May 19 '21 14:05 gulati-diksha

see https://github.com/benkehoe/sfn-callback-urls/issues/8

stewartcampbell avatar May 19 '21 15:05 stewartcampbell