public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
From: Chuck Lever <cel@kernel.org>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: <kdevops@lists.linux.dev>, Chuck Lever <chuck.lever@oracle.com>
Subject: [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs
Date: Wed,  8 Oct 2025 15:38:40 -0400	[thread overview]
Message-ID: <20251008193840.5363-1-cel@kernel.org> (raw)

From: Chuck Lever <chuck.lever@oracle.com>

The entry uses Amazon's owner ID (137112412989) and includes search
patterns for "Deep Learning AMI" and "Deep Learning Base" AMIs,
which are AWS's pre-configured GPU-enabled images for machine
learning workloads.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 terraform/aws/scripts/gen_kconfig_ami | 9 +++++++++
 1 file changed, 9 insertions(+)

Luis, this is untested. Can you apply this patch, rebuild the compute
menu, and see if it provides the desired results?


diff --git a/terraform/aws/scripts/gen_kconfig_ami b/terraform/aws/scripts/gen_kconfig_ami
index 3cf623a8945f..b9de397ba3c3 100755
--- a/terraform/aws/scripts/gen_kconfig_ami
+++ b/terraform/aws/scripts/gen_kconfig_ami
@@ -84,6 +84,15 @@ def get_known_ami_owners():
                 r'debian-.*',
             ]
         },
+        'deeplearning': {
+            'owner_id': '137112412989',
+            'owner_name': 'Amazon',
+            'description': 'AWS Deep Learning AMIs with GPU support',
+            'search_patterns': [
+                r'Deep Learning AMI.*',
+                r'Deep Learning Base.*',
+            ]
+        },
         'fedora': {
             'owner_id': '125523088429',
             'owner_name': 'Fedora',
-- 
2.51.0


             reply	other threads:[~2025-10-08 19:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-08 19:38 Chuck Lever [this message]
2025-10-10  0:51 ` [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs Luis Chamberlain
2025-10-10 12:32   ` Chuck Lever

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251008193840.5363-1-cel@kernel.org \
    --to=cel@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=kdevops@lists.linux.dev \
    --cc=mcgrof@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox