Testing Infrastructure as Code with the CDK for Terraform

Published: 01 January 1970
on channel: HashiCorp
2,917
54

When writing Infrastructure as Code, how do you check for issues such as logic errors, compliance, resource relationships, and breaking changes? The CDK for Terraform (CDKTF) provides the tooling and workflows to safe guard against these problems with unit, integration, and snapshot testing. Join Ansgar Mertens (@amrtns), Mutahir Hayat (@mutahhir), and J. Cole Morrison (@jcolemorrison) in this stream where they'll cover a testing workflow with the CDKTF in context of an Amazon Web Services (AWS) based infrastructure.

Links:

Demo Github Repository: https://github.com/cdktf/ecs-microser...

CDKTF Documentation: https://developer.hashicorp.com/terra...

CDKTF Tutorials: https://developer.hashicorp.com/terra...

Chapter Markers:

0:00:00 - Introduction
0:00:50 - Guest Introductions
0:02:50 - What is the CDK for Terraform?
0:03:40 - Importance of Testing
0:06:44 - Demo Overview
- what are we going to be testing?
0:09:21 - Conversion of HCL Projects to CDKTF
0:23:23 - CDKTF Synthing
- What is CDKTF synthing? Needed understanding for testing.
0:27:00 - Unit Testing Logic and Compliance
0:38:56 - Integration Testing and Resource Relationships
0:53:30 - Snapshot Testing and Safeguarding Changes
1:09:18 - High Level Summary of the Test Types
1:10:27 - Closing and Other Resources

HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp open source tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices.

For more information → https://hashicorp.com
Twitter →   / hashicorp  
LinkedIn →   / hashicorp  
Facebook →   / hashicorp  

#CDKTF #Terraform #InfrastructureAsCode #IAC


Watch video Testing Infrastructure as Code with the CDK for Terraform online, duration hours minute second in high quality that is uploaded to the channel HashiCorp 01 January 1970. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,917 times and liked it 54 visitors.