Terraform best practices with examples and arguments - Anton Babenko
Вставка
- Опубліковано 27 сер 2024
- It is easy to get started with Terraform to manage infrastructure as code. Just read the documentation on terraform.io, and you are done. Almost.
The harder part begins when infrastructure grows in all directions (several AWS/GCP accounts, regions, teams, projects, environments, external integrations). One of the most frequent questions is "how to structure code".
In this talk, I will explain many of challenges related to that, what works, what does not work, why so, and most importantly I will show all the code which works from small projects to very-large infrastructures (featuring multi-cloud and multi-region setup).
This talk is best suitable for people who have been using Terraform at least for some time and already have practical questions, but there will be some basic information for newcomers also.
Most of the content used for the talk you can find on my site here - www.terraform-best-practices.com
Check out more of our talks in the following links!
NDC Conferences
ndcoslo.com
ndcconferences...
I used terraform workspace in a CI CD process yesterday. Seems fitting the workflow. I came back to this conference to verify the same.
s3 module in 100 lines? I have a feeling this guy's TF skill level is like waayyyyy beyond most people's lmao.
Amazing video, but I love terraform workspace, if you use them in a proper way, they useful.
Thanks Anton. I go for all in 1 first. Curious if Bento project name, that I was browsing other day, is it derived from your full name itself?
I don't think I did anything with/for Bento project :)
@@AntonBabenkoLive Silly of me to ask, but lovely to talk to you.
but you talk about terraform workspaces, you need to keep in mind the idea behind, I don't want to have the same terraform state all my environments, terraform workspaces solve this.
Lol terraform is still such a meme. Everything I actually work on requires complexity, and adding complexity into terraform is almost always painful.
I find it to be inflexible and YAML sucks, plus there is no reasonably functional IDE for terraform.
github.com/hashivim/vim-terraform
Any jetbrain ide (pycharm,webstorm) contains very good terraform support
Yet every job search asks for Terraform. I'm sory you find it so difficult.
Terraform isn't written in yaml....
this guy is a joke, cloudformation keeps it's own states, if he doesn't know that, he shouldn't be even talking about any of this
You are right, I won't be talking about any of this... just because there are no conferences :)
Haters gonna hate. @Anton really nice presentation. Thx.
Your attack is without any education. CloudFormation can't provision K8s operators as Helm Charts. Its jurisdiction ends with AWS, where Terraform with a Helm Provider can do this. CloudFormation won't help you.
• Bad jokes
• Bad talk
• Bad all