Re: [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs

Chuck Lever <[email protected]> Fri, 10 Oct 2025 08:32:37 -0400
Newsgroups dev.linux.lists.kdevops
Organization kernel.org
Message-ID <[email protected]>
On 10/9/25 8:51 PM, Luis Chamberlain wrote:
> On Wed, Oct 08, 2025 at 03:38:40PM -0400, Chuck Lever wrote:
>> 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?
> 
> Sure, but I'm at a loss, is there a dynamic kconfig thing?

I haven't adapted your patches that add make targets for regenerating
the menus yet. Again, I wanted an MVP for us to kick around for a bit
first. Driving this stuff from make is definitely a to-do.

But this should work for now:

$ cd terraform/aws
$ scripts/gen_kconfig_ami > kconfigs/Kconfig.ami


> I also can't
> get any instance up on my account as I have the VPC issue so I can't
> test unless that's fixed.

I will be able to do simple testing when I get back to my lab in a
couple days.


-- 
Chuck Lever