https://github.com/takapi327/cdk-for-terraform
https://github.com/hashicorp/terraform-cdkを使用した、インフラ環境構築
https://github.com/takapi327/cdk-for-terraform
Last synced: about 1 year ago
JSON representation
https://github.com/hashicorp/terraform-cdkを使用した、インフラ環境構築
- Host: GitHub
- URL: https://github.com/takapi327/cdk-for-terraform
- Owner: takapi327
- Created: 2021-01-17T08:05:20.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-03-06T07:53:02.000Z (over 5 years ago)
- Last Synced: 2025-02-07T08:29:24.529Z (over 1 year ago)
- Language: TypeScript
- Size: 17.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cdk-for-terraform
Your cdktf typescript project is ready!
cat help Print this message
Compile:
```console
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:
```console
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:
```console
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-null
```
Check for an up to date list here https://github.com/terraform-cdk-providers