Giter VIP home page Giter VIP logo

Comments (3)

Mark-Simulacrum avatar Mark-Simulacrum commented on August 17, 2024

Node 20 will require us to move to AWS SDK v3, most likely (see https://docs.aws.amazon.com/lambda/latest/dg/lambda-nodejs.html); that is going to be painful. I poked at doing this with the team repo function and the function itself is probably not too hard to rewrite:

const { CodeBuildClient, StartBuildCommand } = require("@aws-sdk/client-codebuild");

const client = new CodeBuildClient(config);

exports.handler = async function(event) {
    await client.send(new StartBuildCommand({
        projectName: 'sync-team',
    }));
};

However in order to actually integrate this to terraform we'll need an update of the aws terraform provider, since the 4.x series doesn't seem to support nodejs20.x.

I ran out of time for today to poke at this further.

from simpleinfra.

geektype avatar geektype commented on August 17, 2024

@jdno This is something I would be up to investigate. I can start sifting through the current TF codebase and identify steps needed to migrate to a more recent version of the TF provider. My only comment would be that this task is broader than the scope of this specific ticket so would it be OK if I spawn a new one that tracks the migration to 5.x Tf provider?

from simpleinfra.

jdno avatar jdno commented on August 17, 2024

Hi @geektype,

Thanks for your interest in helping out, it's much appreciated. 🙂

But I fear that this might be a difficult issue for you to work on, since it's quite difficult to run Terraform without permissions. And since we need to rewrite at a minimum some of our Lambda functions, running Terraform and testing the changes on staging will probably be required. 😬

from simpleinfra.

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.