diff --git a/deploy/ami/open-swe-base.pkr.hcl b/deploy/ami/open-swe-base.pkr.hcl index af2c1982..0c37d72a 100644 --- a/deploy/ami/open-swe-base.pkr.hcl +++ b/deploy/ami/open-swe-base.pkr.hcl @@ -73,7 +73,8 @@ source "amazon-ebs" "open-swe" { ssh_username = "ubuntu" ami_name = "${var.ami_name_prefix}-${local.timestamp}" - ami_description = "Open SWE base — Ubuntu 24.04 arm64 + uv/py3.12 + nginx + CW agent (templates only, no secrets)" + # ASCII only — AWS rejects non-ASCII in the AMI Description attribute. + ami_description = "Open SWE base - Ubuntu 24.04 arm64 + uv/py3.12 + nginx + CW agent (templates only, no secrets)" source_ami_filter { filters = { diff --git a/infra/lib/constructs/ami-cache.ts b/infra/lib/constructs/ami-cache.ts index 279f0f81..7687ac07 100644 --- a/infra/lib/constructs/ami-cache.ts +++ b/infra/lib/constructs/ami-cache.ts @@ -7,7 +7,7 @@ import { REGION } from "../config"; * Pinned by EXACT id (not a name filter) so synth/deploy is fully offline and * deterministic. * - * Built 2026-06-26 from open-swe-base-arm64-20260626-201929. + * Built 2026-06-26 from open-swe-base-arm64-20260626-203433. * * ── EBS / AMI replacement discipline (memory feedback_inline_ebs_volumes) ── * @@ -27,7 +27,7 @@ import { REGION } from "../config"; * snapshot the root volume AND wait `state=completed`, re-verify "no local-only * durable state", and review the `cdk diff` replacement at PR time. */ -export const BAKED_OPEN_SWE_AMI_ID = "ami-0545363bb147229ff"; +export const BAKED_OPEN_SWE_AMI_ID = "ami-00080084502093021"; /** The baked open-swe base image, pinned by id (offline, deterministic). */ export function bakedOpenSweArm64(): ec2.IMachineImage {