compose/ecs/pkg/amazon/backend
Chad Metcalf b2a9019700
LoadBalancer names cannot be longer then 32 characters..
Longer names will fail with:

 AmazonElasticLoadBalancingV2; Status Code: 400; Error Code: ValidationError;

 Fairly straight forward approach, truncate at 32 characters.
 Considering that we append "LoadBalancer" to every name and it is 12
 characters the name should stay useful. We can decide later if "LB" is
 better then a truncated "LoadBalan".

 The golden test data needed to be updated because its names were also
 over 32 characters.

 Fixes #160.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:26:30 +02:00
..
testdata LoadBalancer names cannot be longer then 32 characters.. 2020-08-17 21:26:30 +02:00
backend.go don't set service `Name` so they can be updated by CloudFormation 2020-08-17 21:26:19 +02:00
cloudformation.go LoadBalancer names cannot be longer then 32 characters.. 2020-08-17 21:26:30 +02:00
cloudformation_test.go LoadBalancer names cannot be longer then 32 characters.. 2020-08-17 21:26:30 +02:00
compatibility.go claim support for deploy.replicas 2020-08-17 21:26:29 +02:00
context.go Check context created by `context` command 2020-08-17 21:26:29 +02:00
convert.go Use compatibilityChecker to detect missing service image as a blocker 2020-08-17 21:26:26 +02:00
down.go don't set service `Name` so they can be updated by CloudFormation 2020-08-17 21:26:19 +02:00
iam.go code restructure 2020-08-17 21:26:14 +02:00
list.go Unwrapp API errors to get user-friendly error message 2020-08-17 21:26:22 +02:00
logs.go Unwrapp API errors to get user-friendly error message 2020-08-17 21:26:22 +02:00
secrets.go Use `Project` from compose-go 2020-08-17 21:26:16 +02:00
up.go `ps` shows LoadBalancer URL 2020-08-17 21:26:22 +02:00
wait.go don't set service `Name` so they can be updated by CloudFormation 2020-08-17 21:26:19 +02:00