Skip to content

Property Lists #37

@dlahn

Description

@dlahn

Some properties within CloudFormation resources require lists. In Cfer at the moment, to denote this, you would need to do something like this:

  load_balancers [{
    "ContainerName": "nginx",
    "ContainerPort": 80,
    "TargetGroupARN": {"Ref": "ELBV2TargetGroup"}
  }]

It would be nice if this would fit into the regular Cfer DSL such as something like this:

   load_balancers [{
     container_name "nginx"
     container_port 80
     target_group_arn Fn::Ref(:ELBV2TargetGroup)
   }]

This would allow you to create a list, and also have many elements, while maintaining the regular syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions