From dfd21187e143e58f412d03a48c05529600f99cbe Mon Sep 17 00:00:00 2001 From: Guilherme Martins Crocetti Date: Sun, 2 Feb 2020 12:55:05 -0300 Subject: [PATCH] Change iam_database_authentication_enabled to enabled_iam_database_authentication in accordance with aws docs --- moto/rds2/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moto/rds2/models.py b/moto/rds2/models.py index d2aa24a20..68acef0a0 100644 --- a/moto/rds2/models.py +++ b/moto/rds2/models.py @@ -130,7 +130,9 @@ class Database(BaseModel): if not self.option_group_name and self.engine in self.default_option_groups: self.option_group_name = self.default_option_groups[self.engine] self.character_set_name = kwargs.get("character_set_name", None) - self.iam_database_authentication_enabled = False + self.enable_iam_database_authentication = kwargs.get( + "enable_iam_database_authentication", False + ) self.dbi_resource_id = "db-M5ENSHXFPU6XHZ4G4ZEI5QIO2U" self.tags = kwargs.get("tags", [])