awslabs / diagram-as-code

Diagram-as-code for AWS architecture.
Apache License 2.0
405 stars 22 forks source link

Ignoring DependsOn without string (e.g. ECS containers' DependsOn) #56

Closed a2ush closed 1 month ago

a2ush commented 1 month ago

Issue #, if available:

If there is ECS containers' "DependsOn", SIGSEGV error occurs.

Resources:
  SampleFargateTaskDefinition:
    Type: AWS::ECS::TaskDefinition
    Properties:
      Cpu: 256
      Memory: 512
      NetworkMode: awsvpc
      RequiresCompatibilities:
        - FARGATE
      ContainerDefinitions:
        - Name: container1
          Image: amazonlinux:2
        - Name: cloudwatch
          DependsOn:    ## <---- here
            - ContainerName: container1
              Condition: START

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.