Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 950 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 950 Bytes

CDKTF - Python


In this project, an EC2 instance is created on AWS using CDKTF. A way to create cloud infrastructure using programming languages. The template used in this project was Python.


CDKTF (Cloud Development Kit for Terraform)

CDKTF allows you to define your infrastructure as code using a familiar programming language, instead of writing code in HashiCorp Configuration Language (HCL), which is Terraform's configuration language. This brings benefits such as code reuse, modularity, abstraction, and powerful programming capabilities to build, deploy, and manage infrastructure resources..


Deploying infra

cdktf deploy
  • Equivalent to terraform apply

Destroying infra

cdktf destroy
  • Equivalent to terraform destroy

Preview what will be implemented

cdktf diff
  • Equivalent to terraform plan