From 7f932c6dd953b48a385c56171760cd5795d93e44 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:20:30 +0000 Subject: [PATCH] Allow user to associate rds cluster with a global rds cluster by passing GlobalClusterIdentifier (#1663) (#1664) [PR #1663/82162752 backport][stable-5] Allow user to associate rds cluster with a global rds cluster This is a backport of PR #1663 as merged into main (8216275). 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: Alina Buzachis --- 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 5eec23c8842..03edddaeccd 100644 --- a/plugins/modules/rds_cluster.py +++ b/plugins/modules/rds_cluster.py @@ -772,6 +772,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)