Skip to content

Commit

Permalink
Add changelogs fragment, make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Apr 26, 2023
1 parent cad1e1e commit 923f398
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- rds_instance - add support for CACertificateIdentifier to create/update rds instance (https://github.com/ansible-collections/amazon.aws/pull/1459)."
9 changes: 5 additions & 4 deletions plugins/modules/rds_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ def main():
auto_minor_version_upgrade=dict(type="bool"),
availability_zone=dict(aliases=["az", "zone"]),
backup_retention_period=dict(type="int"),
ca_certificate_identifier=dict(),
ca_certificate_identifier=dict(type="str"),
character_set_name=dict(),
copy_tags_to_snapshot=dict(type="bool"),
db_cluster_identifier=dict(aliases=["cluster_id"]),
Expand Down Expand Up @@ -1497,9 +1497,10 @@ def main():
supports_check_mode=True,
)


if module.params['ca_certificate_identifier']:
module.require_botocore_at_least("1.29.44", reason="to use 'ca_certificate_identifier' while creating/updating rds instance")
if module.params["ca_certificate_identifier"]:
module.require_botocore_at_least(
"1.29.44", reason="to use 'ca_certificate_identifier' while creating/updating rds instance"
)

# Sanitize instance identifiers
module.params["db_instance_identifier"] = module.params["db_instance_identifier"].lower()
Expand Down

0 comments on commit 923f398

Please sign in to comment.