Skip to content

Instantly share code, notes, and snippets.

@yamamoto-febc
Created April 14, 2021 05:13
Show Gist options
  • Save yamamoto-febc/2a29df295eee3a768d8f1259747473bd to your computer and use it in GitHub Desktop.
Save yamamoto-febc/2a29df295eee3a768d8f1259747473bd to your computer and use it in GitHub Desktop.
cdktf-compile-error
$ cdktf deploy
.gen/providers/sakuracloud/data-sakuracloud-vpc-router.ts:167:14 - error TS2416: Property 'index' in type 'DataSakuracloudVpcRouterPrivateNetworkInterface' is not assignable to the same property in base type 'ComplexComputedList'.
Type 'number' is not assignable to type 'string'.
167 public get index() {
~~~~~
.gen/providers/sakuracloud/data-sakuracloud-vpc-router.ts:167:14 - error TS2611: 'index' is defined as a property in class 'ComplexComputedList', but is overridden here in 'DataSakuracloudVpcRouterPrivateNetworkInterface' as an accessor.
167 public get index() {
~~~~~
Found 2 errors.
⠙ synthesizing ...
non-zero exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment