From 801b623a6b6b9708fb7ac8f14de75bb8f1ce5a1e Mon Sep 17 00:00:00 2001 From: Gustav Behm Date: Sat, 18 Nov 2023 10:49:00 +0100 Subject: [PATCH] AMI defaults --- openbsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsd b/openbsd index aa05d6f..fc7c8b7 100755 --- a/openbsd +++ b/openbsd @@ -1857,7 +1857,7 @@ class AWS: def ami_cmd(self, args): aws = Spec.from_args(args, "aws") - ami_spec = aws["ami"] + ami_spec = aws.get("ami", {}) salt = fresh_salt() timestamp = datetime.datetime.utcnow().strftime("%Y%M%dT%H%M%SZ")