Tag: Modules

Browse all articles, tutorials, and guides about Modules

Posts

Terraform
2025-03-20|8 min read

How to Share Providers and Variables Across Terraform Modules

Learn the right way to configure providers and pass variables when working with Terraform modules, avoiding common pitfalls with provider inheritance and variable scoping.

Terraform
2025-03-18|8 min read

How to Organize Terraform Modules for Multiple Environments

Learn effective patterns for structuring Terraform modules to manage dev, staging, and production environments without duplicating code.

Terraform
2025-02-10|7 min read

How to Output a Field From a Terraform Module

Learn how to properly expose resource attributes from Terraform modules using outputs, and how to access nested values from complex data structures.

Terraform
2025-01-29|7 min read

Can a Resource Be Passed as a Variable into a Module?

Learn how to pass resources as variables into modules in Terraform for reusable and modular infrastructure.

Terraform
2025-01-24|7 min read

How to Reference a Resource Created by a Terraform Module

Learn how to reference resources created by a Terraform module in your configurations.

Terraform
2024-12-22|8 min read

How to Use Terraform Module Output as Input for Another Module

Learn how to chain Terraform modules together by passing outputs from one module as inputs to another, creating organized and reusable infrastructure configurations.

Terraform
2024-07-26|5 min read

Using a Git Branch as a Source for Terraform Modules

Learn how to use a specific Git branch as the source for Terraform modules to manage versioning and development workflows.

Terraform
2024-06-19|5 min read

Refactoring modules: Error: Provider configuration not present

Learn how to resolve the 'Provider configuration not present' error when refactoring Terraform modules.

Terraform
2024-02-18|6 min read

Modules + Output from for_each

Learn how to use for_each with modules in Terraform to dynamically create resources and manage outputs.