Never deploy code manually again.
Terraform has probably had one of the biggest impacts to the way I deploy code, and whilst it's not my favorite piece of tooling for performing IaC, it's perhaps the piece that is still the most ubiquitous.
In this video, we take a brief look at Infrastructure as Code, and why it's useful, as well as deploying a project to AWS using terraform.
#iac #terraform #coding
Links:
Git repo: https://github.com/dreamsofcode-io/iac-intro
IAM file: https://github.com/dreamsofcode-io/iac-intro/blob/files/iam/infrastructure/iam.tf
Hashicorp documentation: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket
tfenv: https://github.com/tfutils/tfenv
My Equipment:
Voice over: https://kit.co/dreamsofcode/voiceover
Coding: https://kit.co/dreamsofcode/coding
My socials:
Twitter: https://twitter.com/dreamsofcode_io
Discord Server: https://discord.gg/eMjRTvscyt
Please consider supporting me as well!
Patreon: https://www.patreon.com/DreamsofCode
00:00 Intro
01:13 Terraform and IaC
03:33 Setup
05:40 Terraform basics
08:58 Project Overview
10:43 S3 Bucket
12:05 SQS Queue
13:05 Lambda
17:07 Testing Deployment
18:33 Cleanup (Important!)
18:46 Outro