Skip to content

Instantly share code, notes, and snippets.

@mindlapse
Created October 4, 2020 15:19
Show Gist options
  • Save mindlapse/443cae9b37c36d564d02ab0072f8a879 to your computer and use it in GitHub Desktop.
Save mindlapse/443cae9b37c36d564d02ab0072f8a879 to your computer and use it in GitHub Desktop.
Error: Unprocessable Entity
$ cdktf init
[1] python
[2] python-pip
[3] typescript
[4] typescript-minimal
[0] CANCEL
What template you want to use? [1...4 / 0]: 3
Initializing a project using the typescript template.
We will now set up the project. Please enter the details for your project.
If you want to exit, press ^C.
Project Name: (default: 'platform-infra')
Project Description: (default: 'A simple getting started project for cdktf.') A platform
Detected Terraform Cloud token.
We will now set up Terraform Cloud for your project.
[1] looper
[0] CANCEL
Terraform Cloud Organization Name: [1/0]: 1
Terraform Cloud Workspace Name: (default: 'typescript') looperspace
Setting up remote state backend and workspace in Terraform Cloud.
cdktf init [OPTIONS]
Create a new cdktf project from a template.
Options:
--version Show version number [boolean]
--disable-logging Dont write log files. Supported using the env
CDKTF_DISABLE_LOGGING. [boolean] [default: true]
--disable-plugin-cache-env Dont set TF_PLUGIN_CACHE_DIR automatically. This is useful
when the plugin cache is configured differently. Supported
using the env CDKTF_DISABLE_PLUGIN_CACHE_ENV.
[boolean] [default: false]
--log-level Which log level should be written. Only supported via setting
the env CDKTF_LOG_LEVEL [string]
--template The template name to be used to create a new project.
[string] [choices: "python", "python-pip", "typescript", "typescript-minimal"]
--project-name The name of the project. [string]
--project-description The description of the project. [string]
--dist Install dependencies from a "dist" directory (for development)
[string]
--local Use local state storage for generated Terraform.
[boolean] [default: false]
--cdktf-version The cdktf version to use while creating a new project.
[string] [default: "0.0.17"]
-h, --help Show help [boolean]
Error: Unprocessable Entity
at ClientRequest.<anonymous> (/home/titan/.nvm/versions/node/v13.12.0/lib/node_modules/cdktf-cli/bin/cmds/helper/terraform-cloud-client.js:37:31)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:315:20)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:610:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
at TLSSocket.socketOnData (_http_client.js:479:22)
at TLSSocket.emit (events.js:315:20)
at addChunk (_stream_readable.js:297:12)
at readableAddChunk (_stream_readable.js:273:9)
at TLSSocket.Readable.push (_stream_readable.js:214:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment