rancherfederal / rke2-aws-tf

MIT License
82 stars 69 forks source link

ELB name can cause locals to truncate incorrectly #42

Closed Cerebus closed 2 years ago

Cerebus commented 3 years ago

When the elb name variable is the right length, controlplane_name, server_name, or supervisor_name can truncate to a name ending in -, which is not permitted.

https://github.com/rancherfederal/rke2-aws-tf/blob/71146b5b6a9acb61edbb7f867b14ab2fe9cf4da9/modules/elb/main.tf#L3