Is it possible to create a LT version without an element that is present in the original LT? For example, let's say we have a LT that includes "BlockDeviceMappings", "IamInstanceProfile", "ImageId", "KeyName", etc., and we need new LT version that has everything from the original LT except "KeyName".
I know we can easily do it using AWS Console, but I need to do it programmatically, preferable via Python / boto3.
I tried using "None" and "" for "KeyName" in LaunchTemplateData argument for create_launch_template_version - getting error in both cases.
I found a solution.