[RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs
Chuck Lever <[email protected]> Wed, 8 Oct 2025 15:38:40 -0400
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
From: Chuck Lever <[email protected]> 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 <[email protected]> --- 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