CDK

CDK

Cloud Development Kit

SDK一般是和service交互的。 CDK用来和基础设施交互的。

AWS CDK

The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation.

https://github.com/aws/aws-cdk

CDK8S

cdk8s is an open-source software development framework for defining Kubernetes applications and reusable abstractions using familiar programming languages and rich object-oriented APIs. cdk8s apps synthesize into standard Kubernetes manifests which can be applied to any Kubernetes cluster.

https://github.com/cdk8s-team/cdk8s

CKDTF

Cloud Development Kit for Terraform (CDKTF) allows you to use familiar programming languages to define cloud infrastructure and provision it through HashiCorp Terraform. This gives you access to the entire Terraform ecosystem without learning HashiCorp Configuration Language (HCL) and lets you leverage the power of your existing toolchain for testing, dependency management, etc.

https://www.terraform.io/cdktf

$ npm install --global cdktf-cli@latest
$ cd cdktf-demo
$ cdktf init --template="go" --local

$ cdktf get
$ go mod tidy

$ cdktf synth
$ cdktf deploy
$ cdktf destroy
Designed by Canux