It’s not a leap to propose that Terraform is the DevOps cornerstone for Infrastructure as Code (IAC). Terraform’s adoption since its mid-2014 release to the software development landscape has been meteoric. More than 8000 organizations are using Terraform for infrastructure automation.
To successfully use the IAC tool, it’s important to optimize HashiCorp Configuration Language (HCL). HCL has become one of the most popular languages on GitHub. Typically though, it’s preferable to work with a familiar programming language rather than learning a new one. The good news here is that the Terraform community, in collaboration with AWS Cloud Development Kit (CDK), recently announced the support of TypeScript and Python for provisioning infrastructure using Terraform. Developers can leverage these languages to optimize the IAC’s tools many providers and modules.
Today we’ll discuss how to use CDK for Terraform and the support of TypeScript and Python programming languages. But before that, let us quickly understand Terraform and AWS CDK.
Terraform is the most popular infrastructure provisioning tool developed by HashiCorp in July 2014, which uses Infrastructure as Code to provision and manage the complete IT infrastructure. Terraform automatically creates models for the cloud infrastructure using code. In many ways, Terraform is very similar to AWS Cloudformation, an AWS service to build AWS infrastructure. We can use Terraform with all the popular cloud providers such as AWS, Azure, and Google Cloud.
#aws #blog #aws cdk #python #terraform #typescript