From adc68fc20a36de5fa535ed2e286b0f0cb4ede921 Mon Sep 17 00:00:00 2001 From: Vasily Sovetov Date: Sun, 14 Jul 2024 18:29:54 +0300 Subject: [PATCH] fixup! ec2: Add RamMonitoring Instance attribute --- boto/ec2/connection.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/boto/ec2/connection.py b/boto/ec2/connection.py index 9cddac8439..916e936f98 100644 --- a/boto/ec2/connection.py +++ b/boto/ec2/connection.py @@ -1378,9 +1378,12 @@ def modify_instance_attribute(self, instance_id, attribute, value, :return: Whether the operation succeeded or not """ # Allow a bool to be passed in for value of disableApiTermination - bool_reqs = ('disableapitermination', - 'sourcedestcheck', - 'ebsoptimized') + bool_reqs = ( + 'disableapitermination', + 'sourcedestcheck', + 'ebsoptimized', + 'rammoniroting', + ) if attribute.lower() in bool_reqs: if isinstance(value, bool): if value: