Generates a target group name with 32-char limit handling. Format: {appName}-{env}-{serviceName}-{color} or truncated with hash if too long.
Application name
Deployment environment
Service name
Target group color (e.g., 'Blue', 'Green')
Target group name, max 32 characters
generateTargetGroupName('ZarCore', 'staging', 'web', 'Blue');// → 'ZarCore-staging-web-Blue' (24 chars, fits)generateTargetGroupName('VeryLongAppName', 'development', 'api', 'Blue');// → truncated with 4-char hash for uniqueness Copy
generateTargetGroupName('ZarCore', 'staging', 'web', 'Blue');// → 'ZarCore-staging-web-Blue' (24 chars, fits)generateTargetGroupName('VeryLongAppName', 'development', 'api', 'Blue');// → truncated with 4-char hash for uniqueness
Generates a target group name with 32-char limit handling. Format: {appName}-{env}-{serviceName}-{color} or truncated with hash if too long.