Skip to content

Commit

Permalink
rds_instance: fix promotion_tier type (#1475)
Browse files Browse the repository at this point in the history
rds_instance: fix promotion_tier type

SUMMARY

Change promotion_tier type to integer

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

rds_instance.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis
Reviewed-by: Mark Chappell
  • Loading branch information
gootdude authored May 4, 2023
1 parent 116f882 commit bc3ee14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/1475-rds_instance-promotion-tier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- rds_instance - fix type of ``promotion_tier`` as passed to the APIs (https://github.com/ansible-collections/amazon.aws/pull/1475).
4 changes: 2 additions & 2 deletions plugins/modules/rds_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
description:
- An integer that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of
the existing primary instance.
type: str
type: int
publicly_accessible:
description:
- Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with
Expand Down Expand Up @@ -1434,7 +1434,7 @@ def main():
preferred_backup_window=dict(aliases=["backup_window"]),
preferred_maintenance_window=dict(aliases=["maintenance_window"]),
processor_features=dict(type="dict"),
promotion_tier=dict(),
promotion_tier=dict(type='int'),
publicly_accessible=dict(type="bool"),
restore_time=dict(),
s3_bucket_name=dict(),
Expand Down

0 comments on commit bc3ee14

Please sign in to comment.