mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-07 16:19:09 +00:00
fix(ami): ASCII-only AMI description + re-pin to ami-00080084502093021
Third packer bug: ami_description had an em-dash (non-ASCII); AWS rejects non-ASCII in the AMI Description attribute, so packer registered then DEREGISTERED the first AMI (ami-0545…) on the ModifyImageAttribute error. Replaced with an ASCII '-'. Rebuilt clean → ami-00080084502093021 (available). Re-pinned BAKED_OPEN_SWE_AMI_ID.
This commit is contained in:
parent
8ed6268be2
commit
be18bc52ec
2 changed files with 4 additions and 3 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue