From 82162752ed79c810e16e0801a14b2126e3b6506b Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Wed, 26 Jul 2023 11:24:14 +0200 Subject: [PATCH] Allow user to associate rds cluster with a global rds cluster by passing GlobalClusterIdentifier (#1663) Allow user to associate rds cluster with a global rds cluster SUMMARY Allow user to associate rds cluster with a global rds cluster ISSUE TYPE Bugfix Pull Request COMPONENT NAME rds_cluster ADDITIONAL INFORMATION Reviewed-by: Jill R Reviewed-by: Mandar Kulkarni --- changelogs/fragments/20230725-rds_cluster-fix.yml | 2 ++ plugins/modules/rds_cluster.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/20230725-rds_cluster-fix.yml diff --git a/changelogs/fragments/20230725-rds_cluster-fix.yml b/changelogs/fragments/20230725-rds_cluster-fix.yml new file mode 100644 index 00000000000..9070a63cdb6 --- /dev/null +++ b/changelogs/fragments/20230725-rds_cluster-fix.yml @@ -0,0 +1,2 @@ +bugfixes: + - rds_cluster - Allow to pass GlobalClusterIdentifier to rds cluster on creation (https://github.com/ansible-collections/amazon.aws/pull/1663)." diff --git a/plugins/modules/rds_cluster.py b/plugins/modules/rds_cluster.py index 3cc781a8bb2..5609654a810 100644 --- a/plugins/modules/rds_cluster.py +++ b/plugins/modules/rds_cluster.py @@ -770,6 +770,7 @@ def get_create_options(params_dict): "Domain", "DomainIAMRoleName", "EnableGlobalWriteForwarding", + "GlobalClusterIdentifier", ] return dict((k, v) for k, v in params_dict.items() if k in options and v is not None)