• Products
    Infrastructure
    • Terraform
    • Packer
    • Vagrant
    Networking
    • Consul
    Security
    • Vault
    • BoundaryNew
    Applications
    • Nomad
    • WaypointNew
    HashiCorp Cloud Platform
    • Consul
    • Terraform Cloud
    • VaultPublic Beta
    Partner Services
    • HashiCorp Consul Service (HCS) on Azure
    HashiCorp Cloud Operating Model stack graphic
    Unlocking the Cloud Operating ModelRead whitepaper
  • Solutions
    Solutions
    • Cloud Infrastructure Automation
    • Cloud Security Automation
    • Cloud Networking Automation
    • Zero Trust Security
    Customer Stories
    • ABN AMRO
    • Pandora
    • athenahealth
    • Criteo
    • Mercedes-Benz
    • Roblox
    • Cimpress
    • Q2 Software
    • All Customer Stories »
    Contact Sales
    Close up of crowd watching presentation
    Discover our latest Webinars and WorkshopsView Webinars
    HashiCorp Cloud Operating Model stack graphic
    Unlocking the Cloud Operating ModelRead whitepaper
  • Company
    Company
    • About Us
    • Jobs
    • Our Principles
    • Tao of HashiCorp
    • Blog
    • Press
    • Contact Us
    Events
    • HashiConf
    • Webinars
    • Workshops
    • View all events
    We're hiring
    HashiCorp employees on a couch laughing
    Join us to build industry-leading open source tools and enterprise productsView all open positions
    HashiCorp employee wearing a branded hoodie
    Announcing the HashiCorp StoreVisit the Store
  • Partners
    Partners
    • Overview
    • Find a partner
    • Become a partner
    • Integrations
    Cloud Partners
    Partner Portal
    HashiCorp Stack
    Cloud Operating Model Virtual Day (Jan 21)Register Now
    HashiCorp & F5
    Automating Application Delivery in the Cloud Operating Model with F5Learn More
  • Resources
    Learn
    • Tutorials
    • Certifications
    • Resource Library
    • Blog
    • Training
    Docs
    • Terraform
    • Vault
    • Consul
    • Nomad
    • Vagrant
    • Packer
    • BoundaryNew
    • WaypointNew
    • Sentinel
    Community
    • Overview
    • Forum
    • User Groups
    HashiCorp Learn
    Learn how to provision, secure, connect, and run any infrastructure for any application.Get Started
  • Success & Support
    Customer Success
    • Overview
    • Technical Account Management
    • Implementation Services
    • Enterprise Architecture
    Support
    • Support Portal
    • Submit A Ticket
    • System Status
    • Technical Support Services and Policies
    Contact UsCompare Support Plans
    HashiCorp Cloud Operating Model stack graphic
    Unlocking the Cloud Operating ModelRead whitepaper
    HashiCorp Consul logo and Azure logo
    Bringing Consul as a service to Azure with MicrosoftLearn More
  • Get Pricing
Presentation

Moving Security and Sanity Left by Testing Terraform with InSpec

Feb 26, 2020

A test-driven approach to Terraform.

For those that have longed for a simpler test-driven approach to Terraform development, come and see how 10th Magnitude uses Test Kitchen for Terraform and how to validate deployments with InSpec. This will be a beginner's guide, but all skillsets are welcome to contribute to the conversation!

What You'll Learn

We'll discuss the different use cases for Terraform testing, such as:

  • Test Driven Development (TDD)
  • Integration Testing and CI/CD
  • Compliance, shifting security left
  • Production provisioning validation

As we know, good testing doesn't just solve CI/CD problems; it solves culture problems. I will seek to convince you of why you need to invest in a good Terraform testing strategy early and how you might have bought into a myth that makes you think you have velocity when you don't (are you running in wet cement).

And if you're late to the game and have existing infrastructure with no tests, that's okay, too. Let's talk about how you can reduce stress by adding in some testing now. It's not too late.

It takes an IT village to do DevOps, so let's talk about moving security and sanity left with InSpec and Terraform. So many use cases, and so little time. You'll leave this talk ready to implement at least one of them.

Slides in this GitHub repo.

  • Facebook
  • Twitter
  • LinkedIn
Cloud Adoption

Unlocking the Cloud Operating Model

Read Whitepaper ›
  • ProvisionMulti-Cloud Infrastructure
  • SecureMulti-Cloud Security
  • ConnectMulti-Cloud Networking
  • RunMulti-Cloud Orchestration
Products
  • Terraform
  • Vault
  • Consul
  • Nomad
  • Vagrant
  • Packer
  • Boundary NEW
  • Waypoint NEW
  • Sentinel
Resources
  • Blog
  • Tutorials
  • Community
  • Events
  • Integrations
  • Library
  • Partners
  • Podcast
  • Support
  • Training
Company
  • About Us
  • JobsWe're Hiring
  • Press Center
  • Brand
  • Contact Us
  • System Status
  • Cookie Manager
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
stdin: is not a tty