cdk-ecs-service-extensions icon indicating copy to clipboard operation
cdk-ecs-service-extensions copied to clipboard

Extensions added via another extension's addHooks() method have no access to scope

Open joshlartz opened this issue 3 years ago • 0 comments

Extensions that were added during the addHooks step won't have access to this.scope because the prehook step is in charge of setting scope and runs before addHooks.

https://github.com/cdklabs/cdk-ecs-service-extensions/blob/main/src/service.ts#L171,L180

joshlartz avatar Oct 14 '22 17:10 joshlartz