Coder Social home page Coder Social logo

Comments (4)

chamcca avatar chamcca commented on August 11, 2024

Deploying the examples requires installing the Lambda Layer packages. The README for the examples doesn't mention this. To install the Lambda Layer packages, activate the virtual environment, then from the top-level aws-emr-launch directory:

pip install -r requirements-lambda-layer.txt \
--target=aws_emr_launch/lambda_sources/layers/emr_config_utils/python/lib/python3.7/site-packages/

from aws-emr-launch.

sterlaydy avatar sterlaydy commented on August 11, 2024

Solved. Thank you. But it raises another one:

EmrLaunchFunctionStack

Resource must be in ARN format or "*". (Service: AmazonIdentityManagement; Status Code: 400; Error Code: MalformedPolicyDocument; Request ID:)

from aws-emr-launch.

chamcca avatar chamcca commented on August 11, 2024

I suspect this is because one of the environment variables for the SecretsManager Secrets wasn't an ARN. I was able to reproduce the error using only a Secret name.

I recommend pulling the latest version. We have updated the examples to include an environment_stack to prepare the environment and eliminate the need to set the environment variables.

from aws-emr-launch.

diogonando avatar diogonando commented on August 11, 2024

Hi, I was trying to run the examples and I had the same problem.
I solved it with three points:

  • I corrected some problems with my virtualenv, there was a python alias in my .bashrc that was point to a other path
  • I remove the aws-emr-launch package from pypi, version 1.3.1, and I installed from source.
  • And I installed the lambda layers packages, Thanks chamcca!

from aws-emr-launch.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.