Aws-cdk: Option to disable A record creation in ECS patterns for private LBs

Created on 6 Apr 2020  路  2Comments  路  Source: aws/aws-cdk


Give customers an option to disable A record creation in ECS pattern when the load balancers are private.

Use Case


Some customers may not want an A record to be created when their ECS/Fargate services are behind private load balancer.

Proposed Solution


Our initial attempt was: #6895, which straight out disabled A record creation whenever the load balancer is private. However, turned out that multiple customers actually rely on such a behavior:

To satisfy both groups of customers, we can potentially add a new boolean flag to all the following interfaces:

The flag can be named as createARecord with default value true to be backward-compatible.

Other

Customer ask: #6702
Initial incorrect attempt: #6895

Please +1 if you would like to see this feature implemented!

This is a :rocket: Feature Request

@aws-cdaws-ecs-patterns feature-request needs-design p2

Most helpful comment

I think this is not a good idea. If you don't want the behaviour ECS patterns is producing simply you the bare ECS classes instead. There are more behaviours that could be controlled in ECS patterns - it's nonsense to make all of them configurable. For most customers the ECS patterns are just fine as they are.

All 2 comments

Temporarily close this until we finalize the wording

I think this is not a good idea. If you don't want the behaviour ECS patterns is producing simply you the bare ECS classes instead. There are more behaviours that could be controlled in ECS patterns - it's nonsense to make all of them configurable. For most customers the ECS patterns are just fine as they are.

Was this page helpful?
0 / 5 - 0 ratings