Getting Started With Terraform on AWS — State backend & State Locking

Getting Started With Terraform on AWS — State backend & State Locking Getting started with Terraform is an exciting journey, but as the complexity of your infrastructure increases, so does the importance of managing its state. In the previous article, we installed Terraform, configured the aws provider and started using it. In this article, we’ll break down the crucial concepts of Terraform’s state backends and state locking, focusing on using the power of the S3 backend and DynamoDB for AWS environments. ...

February 29, 2024 · 4 min · 803 words · z4ck404

All you need to know about Terraform provisioners and why you should avoid them.

Photo by Danist Soh on Unsplash As defined in the Terraform documentation, provisioners can be used to model specific actions on the local machine running the Terraform Core or on a remote machine to prepare servers or other infrastructure objects. But HashiCorp clearly states in its documentation that they should be used as the last solution ! which I will explain in this article. Provisioners are the feature to use when what’s needed is not clearly addressed by Terraform. You can copy data with to the newly created resources, run scripts or specific tasks like installing or upgrading modules. ...

February 29, 2024 · 6 min · 1110 words · z4ck404