Giter Site home page Giter Site logo

Comments (5)

DrewThomasCorps avatar DrewThomasCorps commented on June 21, 2024 2

My team would love if this work was completed and merged. We prefer writing amazon states language in Python as opposed to JSON, and this gives us the functionality to do that. An implementation detail prevents us from using the CDK where the step functions are defined, so making this SDK lighter would make it easier to use.

from aws-step-functions-data-science-sdk-python.

wong-a avatar wong-a commented on June 21, 2024

Makes sense. We received similar request in #116

I agree this would be a breaking change. I'm not sure how many customers are using this SDK without sagemaker. So far, I've only seen this request from 3 individuals.

from aws-step-functions-data-science-sdk-python.

nicolaei avatar nicolaei commented on June 21, 2024

I did some testing, and it looks like some of the implicit imports in stepfunctions.steps would also need to be conditional if this change is to be implemented. Specifically the ones around sagemaker.

If you want me to, I'll can look more into it and send a PR next week!


As a side-note, here is a bit more info about my use-case:

We're currently using step functions as a deployment pipeline inside our accounts.
I'm currently doing a rewrite to make the pipeline more powerful by using this library to dynamically create step functions based on a configuration file for each repo.

The main problem right now is that I have to build the lambda inside of a docker container running terraform. This container doesn't have gcc, g++ or make by default, so I have to install it at runtime to avoid redoing a bunch of container images. Numpy and pandas also take a long time to install 😞

Luckely, I saw the announcement about lambdas being able to use ECR in other account a few days ago, so that should mostly alleviate the problem for me when I get it implemented (we're using an account per team, per environment).

Here is the current work in progress, if you're interested: nsbno/terraform-aws-delivery-pipeline.

from aws-step-functions-data-science-sdk-python.

wong-a avatar wong-a commented on June 21, 2024

An implementation detail prevents us from using the CDK where the step functions are defined

Can you elaborate on what issue prevents you from using CDK? @DrewThomasCorps

from aws-step-functions-data-science-sdk-python.

DrewThomasCorps avatar DrewThomasCorps commented on June 21, 2024

For the public record, this conversation was held offline. CDK also adds some bloat and in our case it's preferable to write Amazon States Language with a simple library, rather than requiring constructs, IDs, and stacks.

This is not a pressing concern and there are workarounds in place so we do not need this immediately resolved, but will be keeping an eye on it.

from aws-step-functions-data-science-sdk-python.

Related Issues (20)

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.