From 3cd3c0d7c6034e38f059aa4579c8c036f99dbd46 Mon Sep 17 00:00:00 2001 From: David Hollenberger Date: Sun, 21 Apr 2019 12:46:42 -0400 Subject: [PATCH] [2.8] Add variable type for performance_insights_retention_period (cherry picked from commit 5bda9cbebf083ef7c93f578e1cc8ec7237b8f941) --- changelogs/fragments/49904-rds_instance-datatype.yml | 2 ++ lib/ansible/modules/cloud/amazon/rds_instance.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/49904-rds_instance-datatype.yml diff --git a/changelogs/fragments/49904-rds_instance-datatype.yml b/changelogs/fragments/49904-rds_instance-datatype.yml new file mode 100644 index 00000000000..ca8362dabbf --- /dev/null +++ b/changelogs/fragments/49904-rds_instance-datatype.yml @@ -0,0 +1,2 @@ +minor_changes: + - Add variable type for performance_insights_retention_period (https://github.com/ansible/ansible/issues/49904). diff --git a/lib/ansible/modules/cloud/amazon/rds_instance.py b/lib/ansible/modules/cloud/amazon/rds_instance.py index ad971490137..290970c73d4 100644 --- a/lib/ansible/modules/cloud/amazon/rds_instance.py +++ b/lib/ansible/modules/cloud/amazon/rds_instance.py @@ -1050,7 +1050,7 @@ def main(): new_db_instance_identifier=dict(aliases=['new_instance_id', 'new_id']), option_group_name=dict(), performance_insights_kms_key_id=dict(), - performance_insights_retention_period=dict(), + performance_insights_retention_period=dict(type='int'), port=dict(type='int'), preferred_backup_window=dict(aliases=['backup_window']), preferred_maintenance_window=dict(aliases=['maintenance_window']),