DEV Community

Discussion on: Portfolio/Resume Serverless Website (Cloud Resume Challenge)

Collapse
 
loujaybee profile image
Lou (🚀 Open Up The Cloud ☁️)

Ah, this is awesome Thakur! It's also a really nice write-up, with lots of detail. That's also a really nice architecture diagram you put together, too.

How did you find setting up Terraform for the challenge? It can be a bit fiddly to use TF for lambda I think. Any reason you didn't go with AWS SAM? Also, how long did it take you in the end?

Great job nonetheless, congrats!! 🥳

Collapse
 
thakurrishabh profile image
Thakur Rishabh Singh

Hi Lou!
Thanks for the appreciation. :)
1) Setting up Terraform was messy at first. It required me to think through many things such as STS auth for plan and deploy, remote backend for tf state, problems with their docs!, etc.
2) Lambda was easy actually. The API Gateway was challenging as their docs are incorrect for the API Gateway configured as proxy.
3) SAM is for serverless IaC. But my aim was to use a generic approach. Terraform is valid for multiple clouds so I thought I would learn a lot from that.
4) It took me 30 hours to finish it averaging 6 hours a week for 5 weeks.