Skip to content

v0.34.0

Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 18 Aug 01:25
32287ed
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 to target_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-".