rNdom
rNdom
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
but for a case where i start all over again, IaaC + deploys on github actions is something i finally understood
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
in my case, on a project i have lambdas that werent created by any IaaC but on aws console so im thinking a way of being able to manage them on a repository without needing to re-create them using IaaC
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
i was refering to the fact of the pipeline that deploys changes is directly linked to the tool i used to create those resources
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
that also responds my question, thanks!
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
ahh i understand, thanks for your answer!, so finally the ci/cd github action depends on which tool to generate your infra are you using? say for example im using terraform, then the pipeline will use terraform for creating/updating lambdas (in my case), or if im using cdk, or sst it would use that?
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
i modified the list, as it can represent in a better way my doubts: 1. One repository to store my infra (Lambdas, Api Gateway or any resource that was created with my IaaC tool) 2. Ideally another repository to manage my lambda sourcecode? (or it can be done on a specific folder inside the infraestructure repo? -could bring some pipeline problems on push?-) 3. I can test my lambdas locally generating them with serverless or something else, or try pushing to develop and testing it inside aws 4. Whenever i change a lambda, i create a branch for its feature, and whenever its pushed to dev/main it runs a pipeline to update the resource on AWS -> ¿The pipeline that deploys the changes uses the IaaC tool i used -terraform/cdk/sst-, or its like a "vanilla" pipeline that just zip everything and uploads everything on, say src/*? 5. Whenever i create a lambda, in the other hand, i create a branch for its feature on the infraestructure repo, push it to create the resource, and THEN i need to repeat process 4 for its sourcecode? -> ¿The pipeline that creates the resources uses the IaaC tool i used -terraform/cdk/sst-?
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
Yeah, that comes to preferences, id also like to do that inside a single repo
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
So i made a flow in order to understand if i got the idea correctly:" 1. One repository to store my infra (Lambdas, Api Gateway or any resource that was created with my IaaC tool) 2. Ideally another repository to manage my lambda sourcecode? (or it can be done on a specific folder inside the infraestructure repo? -could bring some pipeline problems on push?-) 3. I can test my lambdas locally generating them with serverless or something else, or try pushing to develop and testing it inside aws 4. Whenever i change a lambda, i create a branch for its feature, and whenever its pushed to dev/main it runs a pipeline to update the resource on AWS 5. Whenever i create a lambda, in the other hand, i create a branch for its feature on the infraestructure repo, push it to create the resource, and THEN i need to repeat process 4 for its sourcecode?
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
the project where we did that was sadly like the guinea rabbit
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
yeah, i understand its like the worst way of doing things hahaha
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
It might be a little redundant considering everything we've been discussing here but its a way to end up the discussion in my mind and bring some clarity
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
What would be the real scenario on a tech company with senior developers, devops and people working with/on cloud infraestructure in terms of deployment and development of lambda functions / api gateway be? Im a junior and i've been working with aws for a while, but on my work there isnt really a senior whom i can ask how should the real-case scenario flow be like so (really a bad practice as of what i know) on a project we ended up creating all the resources by hand on aws console and modifying the lambda's sourcecode on the console itself D: as for now i understand the way of doing that is managing the lambdas on a repository, testing them on localhost and then deploying them with ci/cd and github actions, but do we need something (or is strictly necessary to use a framework) in particular in order to do so? like sst/serverless framework, or we just create the resources with terraform/cdk and then manage the lambdas sourcecode on ghub deploying it with ghub actions with a particular pipeline and no framework?
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
besides of that, i was thinking about something and wanted to share the question with you in case you could help me with an answer, its related to the way this flow works in real scenarios on tech companies
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
I managed to make it work with sst and everything! yikes
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
:popcat:
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
now it comes the practic part so well, i'll play around till it works and if it doesnt somewhere in the road i hope i can ask again for a little bit of insight about whatever could happen
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
im so glad to hear that, really! as i said before it has given me a lot of insight and it really really directed me towards what i want to achieve with my project so muuch thanks for your time and patience explaining, it super clear
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
as of right now im using supabase to host my db, i've found tutorials connecting to postgres, rds or aurora but havent done so much with it, i assume instead of creating my resources on a vpc/rds with sst i can just link it to my supabase db and everything should work good
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
as i said im going to work on a repository to set up my lambdas and its deployment with sst and github actions, in that scenario i need to create my resources with SST as IaaC? or SST doesnt provide IaaC and its better to create my stuff on aws console / terraform / any other tool? considering its going to be a project that only uses API gateway and lambda (with drizzle) in terms of backend, i was more inclined to just using something that lets me create those resources and then update them, so i guess sst is the candidate?
65 replies
TTCTheo's Typesafe Cult
Created by rNdom on 3/15/2025 in #questions
aws lambda + drizzle orm help me please
Talking to you has been really educating so thank u so much for that, it gives me a lot of insight
65 replies