Comments (3)
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.
@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.
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)
- Slow download speed for uncached artifacts on Fastly HOT 2
- Spurious network errors for `index.crates.io` HOT 4
- Migrate docs.rs to RDS and ECS HOT 11
- Update AWS policies for Billing, Cost Management, and Account consoles HOT 1
- Redirect minor versions to latest patch
- Manage rust-lang/rust in team repository HOT 4
- Track performance issues with CDNs
- Count Downloads Using CDN Logs HOT 2
- Rewrite script to clean up dev-desktops HOT 1
- Fix disk space alerts on the dev-desktops HOT 1
- Write unit tests for `static.crates.io` function
- Log user-agents for Fastly CDN logs
- Purge Fastly cache when publishing rustup
- Tracking issue: Refactor release process for Rustup
- Set up CDN for crates.io's download statistics HOT 12
- Update Terraform providers
- Reduce privileges required to invoke promote-release
- Delete `simple-ci` GitHub Action
- Move crates-io infra from the legacy account to the crates-io-* accounts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simpleinfra.