Recent posts

How to Use Optional Arguments in Terraform Variables
Terraform12 min read
How to Use Optional Arguments in Terraform Variables

Learn how optional arguments work in Terraform and how to make a variable optional in Terraform with parameters.

Terraform Resources Overview – Examples & Best Practices
Terraform26 min read
Terraform Resources Overview – Examples & Best Practices

Resources are an integral part of Terraform. Take a look at what they are, resource behavior, types, dependencies, and meta-arguments.

Using Terraform & Ansible Together
Ansible9 min read
Using Terraform & Ansible Together

In this tutorial, you'll learn how to use Terraform and Ansible together. See how Spacelift can greatly simplify and elevate your workflow for both tools.

How to Use Terraform Conditional Expressions
Terraform13 min read
How to Use Terraform Conditional Expressions

What is a Terraform conditional? See how to use these operators to create resources, deploy modules, and other usage examples.

How to Use Terraform Flatten Function [Examples]
Terraform8 min read
How to Use Terraform Flatten Function [Examples]

Learn what Terraform flatten function is and how to use it. See examples with a list of lists and others.

How to Create API Gateway Using Terraform & AWS Lambda
Terraform18 min read
How to Create API Gateway Using Terraform & AWS Lambda

Learn how to deploy serverless applications with AWS Lambda and API Gateway using Terraform. Cognito Authorizer, custom domain and enabling CORS.

What is Terrascan? Features, Use Cases & Custom Policies
Terraform15 min read
What is Terrascan? Features, Use Cases & Custom Policies

See what Terrascan is, its features, and how to use it to scan your IaC code with use case examples. Terrascan vs Checkov vs tfsec.

How to Deploy AWS Auto Scaling Group with Terraform
Terraform11 min read
How to Deploy AWS Auto Scaling Group with Terraform

Learn what Autoscaling Groups are and how to manage and deploy AWS Auto Scaling Group with Terraform. See example.

How to Create an AWS RDS Instance Using Terraform
Terraform19 min read
How to Create an AWS RDS Instance Using Terraform

Step-by-step AWS RDS setup with Terraform: VPC, access, backup, replication, monitoring and best practices. AWS RDS module explained.

How to Use Terraform Merge Function – Examples
Terraform7 min read
How to Use Terraform Merge Function – Examples

See how to use Terraform merge function with maps, lists of objects, lists of maps and tags. Take a look at the examples.

What is Terratest and How to Use it
Terraform20 min read
What is Terratest and How to Use it

Learn what Terratest is, how it works, and how to use it to write tests. See examples in the development workflow.

Terraform Map Variable – What It is & How to Use
Terraform14 min read
Terraform Map Variable – What It is & How to Use

Learn how to use Terraform map variables, convert lists to maps, apply functions like tomap and flatten, and define maps by type and value.

How to Use Terraform For_Each Meta-Argument [Examples]
Terraform24 min read
How to Use Terraform For_Each Meta-Argument [Examples]

Learn what is Terraform for_each meta-argument and how to use it. See examples with map, set, list, modules, data sources and more.

Crossplane vs Terraform – IaC Tools Comparison
Terraform19 min read
Crossplane vs Terraform – IaC Tools Comparison

See the comparison of Terraform and Crossplane. Find out what is the difference between them and the advantages of using one over the other.

Terragrunt Tutorial – Getting Started & Examples
Terraform22 min read
Terragrunt Tutorial – Getting Started & Examples

What is Terragrunt, how does it work, and what are its features? Learn how to install and set up the configuration. See use cases and examples.

How to Create & Use Gitignore File With Terraform
Terraform5 min read
How to Create & Use Gitignore File With Terraform

Learn what gitignore is, how to use it with Terraform, and which Terraform files you can include in .gitignore. See example.

How to Create AWS IAM Role with Terraform [Step-by-Step]
Terraform18 min read
How to Create AWS IAM Role with Terraform [Step-by-Step]

In this step-by-step tutorial, you'll learn how to create an AWS IAM Role using Terraform with AWS Terraform provider. See an example.

Why You Shouldn’t Manage Terraform with Generic CI/CD Tools
General19 min read
Why You Shouldn’t Manage Terraform with Generic CI/CD Tools

Explore the limitations of GitHub Actions, Azure DevOps, and Jenkins when building CI/CD pipelines to deploy Terraform infrastructure.

IaC Was Just The Beginning

You need a collaborative environment for building the platform your teams need, with deep insight, full control, and unlimited flexibility. Build better with Spacelift.

Liftoff with Spacelift!