hamlet-io / engine

Framework for managing cloud infrastructure via templates. It is part of the broader Hamlet devops framework.
GNU General Public License v3.0
5 stars 5 forks source link

Add support for SubComponent in hostnaming for CDN/LB components #2073

Open roleyfoley opened 1 year ago

roleyfoley commented 1 year ago

Expected Behaviour

When configuring a Port on a LB host name component I can specify including SubComponent which will add the name of the Subcomponent into the hostname

Current Behaviour

Only the Component can be used at the moment which uses the part LB/CDN name. This can easily cause conflicts across multiple port hostnames.

Possible Solution

Add support for the SubComponent as an option when determining the hostname.

Context

Make it easier to have unique hostnames across components automatically