fix: ASCII-only AMI description (AWS rejects em-dash)

EC2 `ModifyImageAttribute` rejects "Character sets beyond ASCII are not
supported" when registering the AMI description. The whole AMI rolls back
on this error. Replace em-dash with hyphen.

LIT-2878
This commit is contained in:
Ishaan Jaff 2026-05-06 15:36:29 -07:00
parent 5847e7bf32
commit b13deccdac
No known key found for this signature in database

View file

@ -68,7 +68,8 @@ source "amazon-ebs" "litellm-agent-runtime" {
instance_type = var.instance_type
ami_name = "${var.ami_name_prefix}-{{timestamp}}"
ami_description = "LiteLLM agent runtime — node24/py3.13/git/gh/uv/bun + daemon stub"
// AWS DescribeImage rejects non-ASCII; keep description ASCII-only.
ami_description = "LiteLLM agent runtime - node24/py3.13/git/gh/uv/bun + daemon stub"
ami_users = var.ami_users
source_ami_filter {