-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-ecs-patterns): Cannot read property 'node' of undefined #14324
Comments
Hi @tai-acall, |
Hello @SoManyHs , yes, the thanks for your time.
|
@tai-acall the root cause of the issue is that the class Something that might work for ya is using the target: {
type: 'AWS::ECS::Service',
logicalId: this.getLogicalId(loadBalancedFargateService.service.node.findChild('Service') as CfnService),
}, |
Hi @peterwoodworth , I confirm the |
|
Try to integrate aws-ecs-patterns module and class CfnCodeDeployBlueGreenHook, stuck in logicalId of target property.
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_core.CfnCodeDeployBlueGreenHook.html
Reproduction Steps
What did you expect to happen?
class FargateService has node property so any error shouldn't happen.
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ecs.FargateService.html
What actually happened?
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: