Skip to content

MarkWarneke/cdk-typescript-azurerm-k8s

Repository files navigation

cdk-typescript-azurerm-k8s

Cloud Development Kit (CDK) TypeScript implementation to deploy Azure Kubernetes Service (AKS)

See the blog post markwarneke.me

Prerequisites

Running

Install the dependency providers from cdktf.json.

{
  "language": "typescript",
  "app": "npm run --silent compile && node main.js",
  "terraformProviders": [
    "azurerm@~> 2.0.0"
  ]
}
cdktf get

Export the used service principal in environment variables as environment variables

export AZ_SP_CLIENT_ID=''
export AZ_SP_CLIENT_SECRET=''`

Run the cdktf

az login

cdktf synth
cdktf diff
cdktf deploy

About

Cloud Development Kit (CDK) TypeScript implementation to deploy Azure Kubernetes Service (AKS)

Topics

Resources

Stars

Watchers

Forks