Recent posts

How to Use Terraform Toset Function [Examples]
Terraform5 min read
How to Use Terraform Toset Function [Examples]

Learn what is toset in Terraform, what does it do, and how to use this function alone and with the for_each meta-argument.

Terraform Cloud Agents vs. Spacelift Workers
Product8 min read
Terraform Cloud Agents vs. Spacelift Workers

See the comparison and learn about the differences between Terraform Cloud agents and Spacelift workers.

Terraform Coalesce Function – How to Use it & Examples
Terraform6 min read
Terraform Coalesce Function – How to Use it & Examples

Learn about the coalesce function in Terraform. See how it works and some examples. Coalesce vs. try explained.

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
Terraform20 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
Terraform13 min read
Terraform Jsonencode Function – Definition & Examples

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

Terraform State Rm: Removing a Resource From State File
Terraform12 min read
Terraform State Rm: Removing 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.

Terraform Optional Variables: optional(), Nullable, Default
Terraform16 min read
Terraform Optional Variables: optional(), Nullable, Default

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

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

Resources are an integral part of Terraform. Learn what they are, key characteristics, resource behavior, types, and dependencies.

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
Terraform17 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]
Terraform9 min read
How to Use Terraform Flatten Function [Examples]

Learn how Terraform's flatten function works with for_each, nested lists, and maps. When to use it and examples.

How to Create API Gateway Using Terraform & AWS Lambda
Terraform19 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
Terraform20 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
Terraform11 min read
How to Use Terraform Merge Function – Examples

Learn how to use the Terraform merge function with maps, lists of objects, lists of maps, and tags. See examples.

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!

The Practitioner’s Guide to Scaling Infrastructure as Code

Transform your IaC management to scale

securely, efficiently, and productively

into the future.

ebook global banner
Share your data and download the guide