Guide to Using Terraform in CI/CD

Terraform by itself automates a lot of things: it creates, changes, and versions your cloud resources. Although many teams run Terraform locally (sometimes with wrapper scripts), running Terraform in CI/CD can boost the organization’s performance and ensure consistent deployments. In this article, I would like to review different approaches to integrating Terraform into generic deployment pipelines. Where to store the Terraform code Storing Terraform code in the same repository as the application code or maintaining a separate repository for the infrastructure?...

November 24, 2021 · Serhii Vasylenko

Using TinyPNG Image Compression From MacOS Finder Contextual Menu

I just wanted to compress one image, but went to far… or “How to add TinyPNG image compression to your macOS Finder contextual menu.” What is it and how it works You select needed files or folders, then right-click on them, click on the Services menu item and choose TinyPNG. After a moment, the new optimized versions of images will appear near to original files. If you selected a folder along with the files, the script would process all png and jpeg files in it....

February 14, 2021 · Serhii Vasylenko

Terraform Workflow — Working Individually and in a Team

The work with Terraform code may become tangled sometimes. Here are some guides on how to streamline it and make it transparent for you and your team. It is extremely helpful in a team, and can benefit you even if you work individually. A good workflow enables you to streamline a process, organize it, and make it less error-prone. This article summaries several approaches when working with Terraform, both individually and in a team....

September 16, 2020 · Serhii Vasylenko

What are Terraform Modules and how do they work?

Surprisingly, a lot of beginners skip over Terraform modules for the sake of simplicity, or so they think. Later, they find themselves going through hundreds of lines of configuration code. I assume you already know some basics about Terraform or even tried to use it in some way before reading the article. Please note: I do not use real code examples with some specific provider like AWS or Google intentionally, just for the sake of simplicity....

September 9, 2020 · Serhii Vasylenko

Terraform explained in English

You might have heard about Terraform before, but if you have never tried it, this blog can help you to get the main point. A few words about “Infrastructure as Code" First of all, Terraform is the way to manage the infrastructure in the form of code. The same way developers write the code to create applications, Terraform code can create the resources in virtual data centers (i.e., clouds). Infrastructure as Code, or IaC, is when you describe and manage your infrastructure as… (guess what?...

May 2, 2020 · Serhii Vasylenko