DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Building Azure Resources with TypeScript Using the CDK for Terraform

4 years ago www.hashicorp.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Learn a quick method for getting started with the Cloud Development Kit (CDK) for Terraform using TypeScript as infrastructure code and provisioning on Microsoft Azure. The CDK for Terraform is a tool used to define infrastructure using programming languages including TypeScript, Python, Java, and C#.

If you're not experienced with HCL, or just want to manage your entire coding workflow in one language, can be useful to define that infrastructure in TypeScript as well with Terraform.

You will notice a new directory in your folder structure .gen. This is where your provider code is located and we will import it into our main.ts.

First we need to run: This will sync any changes made in our main.ts file and update our Terraform config to match.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com