From b13deccdacd1c9948f99c18e7f46f16eae6806f1 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 6 May 2026 15:36:29 -0700 Subject: [PATCH] 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 --- infra/ami/litellm-agent-runtime.pkr.hcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/ami/litellm-agent-runtime.pkr.hcl b/infra/ami/litellm-agent-runtime.pkr.hcl index bca7fc20957..45619cd16f5 100644 --- a/infra/ami/litellm-agent-runtime.pkr.hcl +++ b/infra/ami/litellm-agent-runtime.pkr.hcl @@ -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 {