Steps to reproduce
- Define a private gateway configuration
type: gateway
name: test-aws-private-gateway
backend: aws
region: eu-central-1
domain: '...'
public_ip: False
certificate:
type: acm
arn: '...'
- Apply it and get an error
Provisioning failed. Error: Unexpected error: ClientError("An error occurred (ValidationError) when calling the
CreateLoadBalancer operation: The load balancer name 'dstack-main-test-aws-private-gateway-ztneuxwx-lb' cannot be longer than
'32' characters")
This is because Load Balancer names are 32 chars max unlike other resources and dstack caps names at 60 chars.
Actual behaviour
No response
Expected behaviour
We need to use a different, short naming scheme for resources with low name length limit. It would not include project names and can be something like dstack-{hex[:8]}
dstack version
master
Server logs
Additional information
No response
Steps to reproduce
This is because Load Balancer names are 32 chars max unlike other resources and dstack caps names at 60 chars.
Actual behaviour
No response
Expected behaviour
We need to use a different, short naming scheme for resources with low name length limit. It would not include project names and can be something like
dstack-{hex[:8]}dstack version
master
Server logs
Additional information
No response