Recent posts

Terraform Cloud / Enterprise Workspaces vs. Spacelift Stacks
Product11 min read
Terraform Cloud / Enterprise Workspaces vs. Spacelift Stacks

See the differences and similarities between Terraform Cloud workspaces and Spacelift stacks and examples of how to use them.

Helm vs. Terraform – Key Differences & Comparison
Terraform14 min read
Helm vs. Terraform – Key Differences & Comparison

Helm vs Terraform - learn what are the similarities and differences in managing your Kubernetes clusters with these tools.

Terraform Count Meta-Argument – How to Use It & Examples
Terraform15 min read
Terraform Count Meta-Argument – How to Use It & Examples

Learn how to use Terraform count index meta-argument with examples including resources, conditionals, modules, and data sources.

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.

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!