Terraform from Zero on GCP – Part 4: Variables, Outputs and Best Practices

If you just arrived and want to understand what has been done so far, I recommend taking a step back and checking out the previous posts: Terraform: Taking the Next Step – Building Infrastructure from Scratch on GCP This post (and the next one) will probably be a bit more theoretical than I like, but let’s take an important step: organizing the project with best practices. We’ll better understand the use of variables, outputs – which we created previously. And we’ll take the opportunity to modularize the project a bit more. ...

13 May 2025 · 3 min · 448 words · Logan D. Merazzi

Terraform from Zero on GCP – Part 3: Creating the First Project

If you landed here out of nowhere and want to see what happened before, check out the following post: Terraform from Zero on GCP – Part 2: Setting up the Environment Now that we’ve prepared the ground, it’s time to create the first project. In this post, we’ll: Create the basic structure of a Terraform project Initialize Terraform (terraform init) Create and apply a real resource on GCP (a **Cloud Storage bucket**) File Structure Create a folder for your project and add the following files: ...

23 Apr 2025 · 3 min · 474 words · Logan D. Merazzi

Terraform from Zero on GCP – Part 2: Setting up the Environment

And let’s move on to the second post in the series! If you want to see what we discussed in the first post of the series where I talk about the objective and how to configure the local environment, I recommend starting here: Terraform: Taking the Next Step – Building Infrastructure from Scratch on GCP What we’re going to do today: Create a project on GCP I'm not going to create a whole organization here, I'm going to create simple projects in a personal account, but let's not consider this as best practices in a corporate environment, ok? Create a Service Account with specific permissions Generate the authentication key (JSON) Configure the environment variable for Terraform to access GCP 1. Creating the project on GCP Access the [GCP Console](https://console.cloud.google.com/) Click on the project selector (top left corner) > **New Project** ...

22 Apr 2025 · 2 min · 268 words · Logan D. Merazzi

Terraform: Taking the Next Step – Building Infrastructure from Scratch on GCP

Disclaimer Since this is a series of posts, I’ll leave the links here as we progress through each topic discussed. Introduction (This post) [Setting up the Environment](https://blog.merazzi.com.br/en/terraform-from-zero-gcp-part-2-setting-up-environment/) Introduction This is the second post where I talk about using Terraform to create infrastructure using code (the famous IaC). If you didn’t see the first post (made in 2022!!), I recommend reading it to install and prepare the local environment (calm down… We’ll get to the cloud – I hope): ...

21 Apr 2025 · 2 min · 324 words · Logan D. Merazzi
MinIO Implementation with Separated Buckets

MinIO Implementation with Separated Buckets

I’ve been playing around quite a bit with MinIO lately – after all, why use cloud services where everything is readily available if I can complicate things a bit by doing everything manually? Anyway… I came across a situation here and had it noted down in my Obsidian, but I thought it would be interesting to put it here on the blog (which I’m not sure if it still makes sense to maintain, to be honest). ...

16 Apr 2025 · 5 min · 911 words · Logan D. Merazzi