Lessons with tag: terraform

We found 62 results

AWS CloudFormation Drift Detection

August 12, 2022
We'll explain what AWS CloudFormation Drift Detection is and how it works. It's similar to `terraform plan` but there are some differences. We'll cover the nuances, differences and walk through an example. ## Links * [AWS CloudFormation Docs...

AWS CloudFormation Change Sets

August 12, 2022
We'll cover CloudFormation Change Sets. It allows you to preview what CloudFormation will do before having to press the scary big red button. For those coming from different worlds: Tool | Name ---|--- CloudFormation | Change Sets Terraform...

Terraform Import Command: Learn How to Use It

August 3, 2022
We'll cover the `terraform import` command. The command import existing infrastructure resources into the terraform statefile. Many folks do not have greenfield projects and that's fine. The `terraform import` command allows you to take manuall...

Terraform AWS AutoScaling and Application Load Balancer

August 3, 2022
We'll create an AWS AutoScaling Group with an Application Load Balancer. ## Terraform Load Balancer Docs * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group * https://registry.terraform.io/provider...

Terraform AWS Load Balancer Standalone

August 3, 2022
We'll create an AWS Load Balancer with Terraform. We'll cover all the resource components that's needed: * aws_lb * aws_lb_listener * aws_lb_target_group * aws_security_group ## Terraform Load Balancer Docs * https://registry.terraform...

Terraform AWS AutoScaling with Mixed Instance Types

August 3, 2022
We'll create an AWS AutoScaling Group with Mixed Instance Types. This is one of my favorite stacks because it allows us to mix and match spot and on-demand instances. With spot, we can save 50-90%. ## Terraform AutoScaling Docs * https://re...

Terraform AWS AutoScaling with Launch Template

August 3, 2022
We'll show you how to create an AutoScaling Group with a Launch Template with Terraform. This builds upon the Launch Template video. Using Launch Template is recommended by AWS nowadays. ## AutoScaling Group and Launch Template Docs * https:...

Terraform AWS Launch Templates

August 3, 2022
We'll cover how to create an AWS Launch Template with Terraform. This prepares us for later lessons like AutoScaling that use Launch Templates. ## Terraform LaunchTemplate Docs: * https://registry.terraform.io/providers/hashicorp/aws/latest/...

Terraform AWS Data Sources

August 2, 2022
We'll cover Terraform Data Sources. Particularly two useful examples to help get started: `aws_ami` and `aws_vpc`. ## Terraform Data Sources Links * https://www.terraform.io/language/data-sources * https://registry.terraform.io/providers/ha...

Terraform AWS Webserver: Configure EC2 Instance UserData and SSH Debugging

August 2, 2022
We'll show you now to create an AWS EC2 Instance with Terraform and write UserData script that will configure the instance at launch. We're combing knowledge we've learned from in other lessons: creating an instance and security group. And making...

Terraspace AWS Security Group: Create Tutorial

August 2, 2022
We'll cover how to create an AWS Security Group with Terraform. Though this might seem like a simple example, it's very useful to learn AWS because: 1. It's quick to create a security group 2. It's free 3. It'll be useful for other videos ...

Terraform Workspaces: Why They're Not Recommended

July 26, 2022
We'll cover Terraform Workspaces. We'll go through a demo with them. I explain why I generally don't use them. Mainly, because it doesn't isolate the backend from dev and prod. Instead, creating a separate backend with a separate bucket for dev an...

Terraform State: What is the Statefile and Why It’s Needed

July 24, 2022
Terraform state is an essential topic. We'll explain what the statefile is and why Terraform requires it. We'll introduce different backends and provide an high-level overview. * [Terraform State Overview Docs](https://www.terraform.io/languag...

Terraform Local Backend Statefile Deep Dive: What’s Actually in the Statefile

July 24, 2022
We'll take a close look at the terraform local backend file that gets created: `terraform.tfstate`. We'll show what happens when an explicit local backend is configured and the path is moved. Terraform is smart enough to migrate it. You should alw...

Terraform Custom Modules: How to Write One

July 24, 2022
We'll gently introduce and show you how to create your own custom terraform module. This is a key concept that allows you to create reusable configurations. * [Terraform Modules Docs](https://www.terraform.io/language/modules) * GitHub Repo: h...

Terraform Console: Useful for Debugging and Learning

July 24, 2022
We'll cover `terraform console`. This is particularly useful when first getting started with Terraform and learning. It's being introduced early. * Terraform Docs: [terraform console](https://www.terraform.io/cli/commands/console) * GitHub Rep...

Terraform Provider Docs Resources: Navigating and Learning Where to Go

July 24, 2022
We'll provide a gentle walkthrough to some of the Terraform Provider Docs. This helps you understand where and how to look up Terraform Resource documentation. * [Terraform AWS Provider Docs](https://registry.terraform.io/providers/hashicorp/aw...

Terraform Built-In Functions: Examples with Common Ones

July 24, 2022
We'll cover Terraform Built-In functions. * [Terraform Built-In functions Docs](https://www.terraform.io/language/functions) * [lookup](https://www.terraform.io/language/functions/lookup) * [concat](https://www.terraform.io/language/functions...

Terraform Locals: Example and Removing Duplication

July 24, 2022
We'll cover Terraform Locals. * [Terraform Locals Docs](https://www.terraform.io/language/values/locals) * GitHub Repo: https://github.com/boltops-learn/terraform-fundamentals-101/blob/main/terrraform-locals/main.tf

Terraform Outputs: Examples and Testing with Console

July 23, 2022
We'll cover Terraform Outputs. * [Terraform Outputs Docs](https://www.terraform.io/language/values/outputs) * GitHub Repo: https://github.com/boltops-learn/terraform-fundamentals-101/tree/main/terrraform-outputs

Terraform Tfvars: How to Set Variables

July 23, 2022
We'll introduce Terraform tfvars and cover different ways to use them. ## Related * [Terraform State](https://learn.boltops.com/curriculums/aws-and-terraform/courses/terraform-fundamentals-101/lessons/terraform-state-what-is-the-statefile) ...

Terraform Variables: Different Types with Examples

July 23, 2022
We'll introduce Terraform Variables and cover how they work. * Terraform Variables Docs: https://www.terraform.io/language/values/variables#tuple * GitHub Repo: https://github.com/boltops-learn/terraform-fundamentals-101/tree/main/terrraform-v...

Terraform Basics: Init, Plan, Apply, Destroy

July 23, 2022
We'll cover terraform basics. First, we'll cover how terraform evaluates the `.tf` files and naming conventions folks use in the real-world. We'll also core terraform commands: terraform init terraform plan terraform apply ...

Terraspace Tfvars Complex Types Transforming Data to Needed Structure Before Terraform Apply

January 9, 2022
When wiring terraform outputs to inputs between modules, sometimes the data structure is not exactly what you need. We'll show how to transform data structures in different ways. This can help you to reuse modules from the Terraform registry witho...

Terraspace Azure Key Vault Secrets: How to Setup and Use

January 4, 2022
We'll show you how to use Azure Key Vault Secrets with Terraspace. This allows you to not store any secret information like passwords in your Terraform source code. ## Commands In the video, to focus on learning, we mainly use the Azure Port...

BoltOps Tools