Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dniel/cdktf-typescript-poc
It doesnt have much stuff in it, it was a quick PoC to just to get a quick taste of how coding typescript with the new CDK is working, building terraform code and deploying.
https://github.com/dniel/cdktf-typescript-poc
cdk cdk-examples iac infrastructure-as-code terraform tfcdk typescript
Last synced: about 2 months ago
JSON representation
It doesnt have much stuff in it, it was a quick PoC to just to get a quick taste of how coding typescript with the new CDK is working, building terraform code and deploying.
- Host: GitHub
- URL: https://github.com/dniel/cdktf-typescript-poc
- Owner: dniel
- Created: 2020-11-06T09:49:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T17:22:20.000Z (3 months ago)
- Last Synced: 2024-10-29T18:46:45.034Z (3 months ago)
- Topics: cdk, cdk-examples, iac, infrastructure-as-code, terraform, tfcdk, typescript
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quick Terraform CDK TypeScript Proof of concept-project.
It doesnt have much stuff in it, it was a quick PoC to just to get a quick taste of how
coding typescript with the new CDK is compiling, generating terraform code and deploying.My initial reaction was that it was in a early alpha-state.
Many of the providers I use, like kubernetes, helm, kubernetes-alpha didnt work
and gave Typescript errors when generating code, other more stable like the
Amazon AWS seemed to work well.## Compile
npm run compile Compile typescript code to javascript (or "npm run watch")
npm run watch Watch for changes and compile typescript in the background
npm run build cdktf get and compile typescript## Synthesize
cdktf synth Synthesize Terraform resources from stacks to cdktf.out/ (ready for 'terraform apply')## Diff
cdktf diff Perform a diff (terraform plan) for the given stack## Deploy
cdktf deploy Deploy the given stack## Destroy
cdktf destroy Destroy the stack## Upgrades
npm run get Import/update Terraform providers and modules (you should check-in this directory)
npm run upgrade Upgrade cdktf modules to latest version
npm run upgrade:next Upgrade cdktf modules to latest "@next" version (last commit)## Use Prebuilt Providers
You can add one or multiple of the prebuilt providers listed below:
npm install -a @cdktf/provider-aws
npm install -a @cdktf/provider-google
npm install -a @cdktf/provider-azurerm
npm install -a @cdktf/provider-docker
npm install -a @cdktf/provider-github
npm install -a @cdktf/provider-nullCheck for an up to date list here https://github.com/terraform-cdk-providers