cloudwatch alarms: how to add alarm dependency? #1213
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
@aws-cdk/aws-elasticloadbalancing
Related to Amazon Elastic Load Balancing
bug
This issue is a bug.
Version: 0.18.0
I'm running into a dependency issue creating an alarm: the alarm dimensions indirectly refer to a target group and load balancer that have not yet been created during stack creation. How do I add a dependency on these objects? There doesn't seem to be a way to add the equivalent of "DependsOn" to a construct.
Code:
Error:
Generated snippet:
The text was updated successfully, but these errors were encountered: