sparse-intern-71089
06/14/2019, 7:34 PMwhite-balloon-205
ignoreChanges
property.white-balloon-205
proud-alarm-92546
06/14/2019, 7:37 PMproud-alarm-92546
06/14/2019, 7:38 PMwhite-balloon-205
proud-alarm-92546
06/14/2019, 7:39 PMproud-alarm-92546
06/14/2019, 7:39 PMlifecycle {
ignore_changes = ["desired_count"]
}
proud-alarm-92546
06/14/2019, 7:40 PMproud-alarm-92546
06/14/2019, 7:40 PMignoreChanges { "desired_count" }
?proud-alarm-92546
06/14/2019, 7:41 PMwhite-balloon-205
proud-alarm-92546
06/14/2019, 7:45 PMproud-alarm-92546
06/14/2019, 7:46 PM{ parent: this, ignoreChanges: ['desired_count'] }
on line 139 results in
TSError: ⨯ Unable to compile TypeScript:
index.ts(139,5): error TS1136: Property assignment expected.
index.ts(140,1): error TS1005: ',' expected.
index.ts(140,2): error TS1128: Declaration or statement expected.
index.ts(139,5): error TS2345: Argument of type '{ parent: typeof globalThis; ignoreChanges: string[]; }' is not assignable to parameter of type 'ComponentResourceOptions'.
Types of property 'parent' are incompatible.
Type 'typeof globalThis' is missing the following properties from type 'Resource': urn, getProvider
thoughwhite-balloon-205
parent
- that’s an unrelated other resource option that you probably don’t need in your use case.proud-alarm-92546
06/14/2019, 7:47 PMproud-alarm-92546
06/14/2019, 7:49 PMproud-alarm-92546
06/14/2019, 7:49 PMdesiredCount: +config.containerCount!,
},
{ ignoreChanges: ['desired_count'] }
);
proud-alarm-92546
06/14/2019, 7:49 PM