mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[rds_instance] don't hardcode license_model choices (#53409)
* Don't hardcode license_model choices
This commit is contained in:
parent
c5f3b778c4
commit
463a7ff5ca
2 changed files with 6 additions and 5 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
bugfixes:
|
||||||
|
- rds_instance - Don't hardcode the license models because there are accepted values undocumented by AWS.
|
||||||
|
Rely on the exception handling instead to provide a helpful error for invalid license models.
|
|
@ -224,10 +224,8 @@ options:
|
||||||
license_model:
|
license_model:
|
||||||
description:
|
description:
|
||||||
- The license model for the DB instance.
|
- The license model for the DB instance.
|
||||||
choices:
|
- Several options are license-included, bring-your-own-license, and general-public-license.
|
||||||
- license-included
|
- This option can also be omitted to default to an accepted value.
|
||||||
- bring-your-own-license
|
|
||||||
- general-public-license
|
|
||||||
type: str
|
type: str
|
||||||
master_user_password:
|
master_user_password:
|
||||||
description:
|
description:
|
||||||
|
@ -1090,7 +1088,7 @@ def main():
|
||||||
force_failover=dict(type='bool'),
|
force_failover=dict(type='bool'),
|
||||||
iops=dict(type='int'),
|
iops=dict(type='int'),
|
||||||
kms_key_id=dict(),
|
kms_key_id=dict(),
|
||||||
license_model=dict(choices=['license-included', 'bring-your-own-license', 'general-public-license']),
|
license_model=dict(),
|
||||||
master_user_password=dict(aliases=['password'], no_log=True),
|
master_user_password=dict(aliases=['password'], no_log=True),
|
||||||
master_username=dict(aliases=['username']),
|
master_username=dict(aliases=['username']),
|
||||||
monitoring_interval=dict(type='int'),
|
monitoring_interval=dict(type='int'),
|
||||||
|
|
Loading…
Reference in a new issue