276°
Posted 20 hours ago

Terraform - Up and Running: Writing Infrastructure as Code

£26.495£52.99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

Update, September 28, 2022: The final version of Terraform: Up & Running, 3rd edition has been published! Grab your copy now! through code examples that you can try at home. You'll go from deploying a basic "Hello, World" Terraform The book does a very, very solid job of teaching you how to use terraform right and not mess with your state. However there is another approach presented on how to prevent state file concurrency issues by using a CI to apply server provisioning. Of course this is limited to good will and sanity of other team members still not running terraform apply by themselves since I am not aware of an option preventing terraform users of running apply at all.

Maturity. How Terraform has become more stable due to the Terraform 1.0 release, the growth of the community, and the HashiCorp IPO. All the code is in the code folder. The code examples are organized first by the tool or language and then The biggest opportunity that I take away from the book is thinking more about the structure of the TF files. I think the template presented here is pretty good, scalable and at least easier to digest than what I'm currently working on. And we also came to the conclusion that TF state should be broken up into smaller, independent chunks. So that's cool. The code examples on Github are very clear, I found myself lost just following along in the book. I highly recommend that readers use the code examples while working through the book.You’ve now had a small taste of just 5 of the problems that have been solved in the Terraform world in the last few years and are now covered by the 3rd edition of Terraform: Up & Running, including how to work with multiple regions, accounts, and clouds, how to control your provider versions, how to manage secrets securely with Terraform, how to set up a secure CI / CD pipeline, and how to do control logic with modules.

One thing where I had hoped to get more out of is the "testing" chapter. I'm not sold on the presented approach. Or in other words: the approach presented here seems a lot of effort compared to what I'm currently working on which also works reasonably well (gitops + pre-prod env + terraform.io and inspecting the plan-output in Github PRs). support a large amount of traffic and a large team of developers—all in the span of just a few chapters.But moving aside from small differences the book is very solid in regards of presenting you practical problems of creating and provisioning environments. Although for "content digestibility", they're greatly simplified compared to real staging/production and etc environments, they present the actual problems of how to use terraform at first, from syntax, declarative resources approach, using data/output/resource/var/module, procedural-like constructs, workflow and reusability. Update the code to work with the current version of Terraform. Providers are now separated from the main repository and the way terraform init works has changed slightly. Since this code comes from a book about Terraform, the vast majority of the code consists of Terraform examples in the Terraform: Up & Running is now on its 3rd edition; all the code in master is for this edition. If you're looking

Well structured - We start with a “Hello World” example to get the reader up and running, then move onto more complex topics (shared state management, testing, modularization). The book finishes with a discussion of the very important subject of people management with Terraform - how do we introduce Terraform to a team and convince management to adopt this new technology? I read the first edition of this book, so the terraform version is a little dated, making the exercises hard to follow at times. Also goes to show how fast terraform is evolving and not even yet hit the first leading major version, I.e., 0.* version only. The other challenge was also the intro of terragrunt, by the author, which made an entry and then disappeared later on, making it hard to follow the tutorial style text. The positives of the book would be that it covers all the main concepts of Terraform in a very easy-to-read way. Chapter 1 is a solid introduction to Terraform, its purpose, and its history. In chapters 2-5 you will actually follow a general infrastructure buildout from the first line of code, all the way through several refactors. Each refactor adding new features or better structure to the system. Essentially the author introduces a new concept and then shows how to improve our Terraform project by implementing that concept. I think this is a very good teaching method for beginners. The core features of Terraform are explained well and require no previous experience. If you want an other provider, you'll have to manage yourself and probably won't benefit **that much** from the book. The rapid evolution of the DevOps industry, though still in its infancy, poses an interesting question. The myriad of tools associated with Terraform has set a precedent, and one can only wonder where the trajectory will take us. Given the ever-evolving nature of technology, this book presents an effective foundation for those wanting to stay ahead of the curve.AWS is the provider of choice and you'll see a lot of AWS lingo which is also explained. Familiarity is a plus, but not required, I've been using Terraform for almost two years right now, and I'd recommend this book to anyone who wants to increase their understanding on terraform and its best practices. What I would expect from the author to update in the next version of this book: In the second part of the series, which will come out when the final version of the 3rd edition is published ( Update, September 28, 2022: the 3rd edition is now published , and the second part of the blog post series is available !), I’ll cover 5 more problems and solutions, including input validation, refactoring, static analysis, policy enforcement, and maturity. Grab a copy of the book to get full access to all of this content! Multiple regions, accounts, and clouds The problem To answer these questions, the 3rd edition of the book includes a brand new chapter: Chapter 7, Working with Multiple Providers. This chapter shows how to work with multiple Terraform providers to deploy to multiple regions, multiple accounts, and multiple clouds.

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment