Recent posts

Terraform Jsonencode Function – Definition & Examples
Terraform16 min read
Terraform Jsonencode Function – Definition & Examples

Learn what does Terraform jsonencode function does and how it differs from heredoc string. See examples for variables, templatefile, and policies.

Terraform State Rm: How to Remove a Resource From State File
Terraform12 min read
Terraform State Rm: How to Remove a Resource From State File

Learn how to use the terraform state rm command to remove single and multiple resources from the Terraform state file. See use case examples.

How to Use Optional Arguments in Terraform Variables
Terraform9 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
Terraform27 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
Terraform11 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
Terraform16 min read
How to Create an AWS RDS Instance Using Terraform

Learn how to create and manage AWS RDS instances with Terraform. See examples including configuring monitoring, performance insights, and encription.

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

What is a map variable in Terraform? See examples. The difference between map(string) and map(object).

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

In this tutorial you'll learn what is Terraform for_each meta-argument and how to use it. See example with map, set, list, modules and data sources.

Crossplane vs Terraform – IaC Tools Comparison
Terraform18 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.

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!