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")