-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-appmeshRelated to AWS App MeshRelated to AWS App MeshbugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.
Description
The VirtualNode construct allows you to add more than one listener, but CloudFormation doesn't support more than one listener at a time. (CFN Docs)
Reproduction Steps
Add more than one listener to a Virtual Node and try to deploy.
new appmesh.VirtualNode(stack, 'VirtualNode', {
mesh: appmesh.Mesh.fromMeshName(stack, 'Mesh', meshName),
listeners: [
appmesh.VirtualNodeListener.http(),
appmesh.VirtualNodeListener.grpc(),
],
});What did you expect to happen?
VirtualNode should throw an error when it detects my attempt to add a second listener.
What actually happened?
It successfully synthesized but failed to deploy a stack.
Environment
- CDK CLI Version : 1.93.0
- Framework Version: 1.93.0
- Node.js Version: v14.15.1
- OS : Linux
- Language (Version): all
This is 🐛 Bug Report
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-appmeshRelated to AWS App MeshRelated to AWS App MeshbugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.