- Newest
- Most votes
- Most comments
Take a look at this sample https://github.com/aws-samples/implement-column-level-encryption-in-amazon-redshift-with-aws-glue-and-aws-lambda-udf , it leverage AWS Lambda and you can use layers (https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) for your custom code.
Here, my use case is, i have to decrypt the data which is encrypted say from MySQL RDS. I am trying to use pycryptdome package, by storing whl file as zip file in the S3 bucket and created a library using zip path as mentioned in the https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_LIBRARY.html
Here, i am getting the error as mentioned in the description.
Instead of interfacing different services to decrypt data, Can we use existed redshfit functionality like 'CREATE FUNCTION' and 'CREATE LIBRARY'?
There are particular requirement to be satisfied, refer https://docs.aws.amazon.com/redshift/latest/dg/udf-python-language-support.html#udf-importing-custom-python-library-modules, and refer section
To import a custom Python module into your cluster
Yes.. i followed same steps for all UDFs. I am facing this error with pycryptodome package when i run the udf.
Then I request you to open a Support Ticket for deeper investigation and troubleshooting.
Thank you. Then i need to raise support ticket only.
Hi,
Did you manage to resolve this issue? We’re currently trying to install pycryptodome and encountered the same error. If you’ve successfully solved it, could you kindly share the solution with us? Thank you!
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 3 years ago
Hi,
Did you manage to resolve this issue? We’re currently trying to install pycryptodome and encountered the same error. If you’ve successfully solved it, could you kindly share the solution with us? Thank you!