Tag: Golang
All the articles with the tag "Golang".
-
Inside Terraform: How for_each and count Expand Resources
A deep dive into Terraform's expansion mechanism — how for_each and count transform configuration blocks into multiple resource instances in the graph.
-
Deprecating Terraform Variables and Outputs in Terraform 1.15
Terraform 1.15 introduces deprecation warnings for variables and outputs. Learn how this works under the hood and what it means for your configurations.
-
Inside Terraform: How tfdiags Powers Error Handling
A deep dive into tfdiags, Terraform's diagnostic and error handling system — how errors, warnings, and source ranges flow through the codebase.
-
Inside Terraform: go-cty & Evaluation - Values in Terraform
How Terraform evaluates expressions using go-cty for value representation and HCL for parsing — a deep dive into the evaluation engine internals.
-
Inside Terraform: References - How Terraform Connects the Dots
How Terraform resolves references between resources, variables, and modules — tracing the dependency graph from HCL expressions to execution order.
-
Inside Terraform: addrs - Everything Needs an Address
A deep dive into Terraform's addrs package — how every resource, module, and variable gets a unique address that drives the entire execution engine.
-
Inside Terraform: A series about the internals of Terraform
A deep-dive blog series by a Terraform Core engineer exploring how Terraform works internally — from address parsing to graph expansion and evaluation.
-
Terraform Stacks vs Modules: How the Two Runtimes Differ
A code-level comparison of how the Terraform Stacks runtime and the classic module runtime differ in graph building, evaluation, and execution.
-
Terraform Stacks Explained: A Quick High-Level Overview
A concise overview of Terraform Stacks — what they are, how they relate to modules, and why they exist for managing infrastructure at scale.
-
Implementing Discriminated Unions in Go: A TypeScript Perspective
How to implement the tagged union pattern in Go when coming from TypeScript, using interfaces and sealed types to model mutually exclusive states.