Skip to content

This is a simple example of how to create EC2 instance on AWS using CDKTF with Python template

Notifications You must be signed in to change notification settings

diogenesOliver/IAC-cdktf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a simple example of how to create EC2 instance on AWS using CDKTF with Python template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages