v0.34.0
Ensure target group and load balancer names cannot exceed their max length @nitrocode (#96)
what
- Ensure target group and load balancer names cannot exceed their max length
- Expose
*_max_length
variables in case AWS changes their max length in the future - Override
load_balancer_name
, similar totarget_group_name
why
- To prevent exceeding the max lengths of the tg and lb so the module will be applied correctly
references
- Closes #27
- API_CreateTargetGroup
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
- API_CreateLoadBalancer
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-".