Skip to content

Instantly share code, notes, and snippets.

@Aaronius
Created August 21, 2022 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aaronius/353a111b18922564088708596282060f to your computer and use it in GitHub Desktop.
Save Aaronius/353a111b18922564088708596282060f to your computer and use it in GitHub Desktop.
Terraform CDK debug output
➜ cdktf git:(master) ✗ CDKTF_LOG_LEVEL=debug cdktf synth
[2022-08-20T22:40:57.697] [DEBUG] default - Error reporting disabled
[2022-08-20T22:40:57.710] [DEBUG] default - {
"terraform_version": "1.2.7",
"platform": "darwin_arm64",
"provider_selections": {},
"terraform_outdated": false
}
[2022-08-20T22:40:57.711] [DEBUG] default - {
"terraform_version": "1.2.7",
"platform": "darwin_arm64",
"provider_selections": {},
"terraform_outdated": false
}
[2022-08-20T22:40:57.736] [DEBUG] default - v18.7.0
[2022-08-20T22:40:57.760] [DEBUG] default - Terraform v1.2.7
on darwin_arm64
⠧ Synthesizing
[2022-08-20T22:40:59.239] [ERROR] default - /Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/synthesize/synthesizer.ts:40
throw new Error(
^
[2022-08-20T22:40:59.240] [ERROR] default - Error: Validation failed with the following errors:
[auth0-terraform] Found resources without a matching provider. Please make sure to add the following providers to your stack: auth0
at StackSynthesizer.synthesize (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/synthesize/synthesizer.ts:40:15)
at /Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/app.ts:129:49
at Array.forEach (<anonymous>)
at App.synth (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/app.ts:129:12)
at Object.<anonymous> (/Users/aaronhardy/dev/auth0-terraform/cdktf/main.ts:37:5)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module.m._compile (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Object.require.extensions.<computed> [as .ts] (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/ts-node/src/index.ts:1621:12)
ERROR: cdktf encountered an error while synthesizing
Synth command: npx ts-node main.ts
Error: non-zero exit code 1
Command output on stderr:
/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/synthesize/synthesizer.ts:40
throw new Error(
^
Error: Validation failed with the following errors:
[auth0-terraform] Found resources without a matching provider. Please make sure to add the following providers to your stack: auth0
at StackSynthesizer.synthesize (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/synthesize/synthesizer.ts:40:15)
at /Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/app.ts:129:49
at Array.forEach (<anonymous>)
at App.synth (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/cdktf/lib/app.ts:129:12)
at Object.<anonymous> (/Users/aaronhardy/dev/auth0-terraform/cdktf/main.ts:37:5)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module.m._compile (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Object.require.extensions.<computed> [as .ts] (/Users/aaronhardy/dev/auth0-terraform/cdktf/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:998:32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment