[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:
|
||||
description:
|
||||
- The license model for the DB instance.
|
||||
choices:
|
||||
- license-included
|
||||
- bring-your-own-license
|
||||
- general-public-license
|
||||
- Several options are license-included, bring-your-own-license, and general-public-license.
|
||||
- This option can also be omitted to default to an accepted value.
|
||||
type: str
|
||||
master_user_password:
|
||||
description:
|
||||
|
@ -1090,7 +1088,7 @@ def main():
|
|||
force_failover=dict(type='bool'),
|
||||
iops=dict(type='int'),
|
||||
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_username=dict(aliases=['username']),
|
||||
monitoring_interval=dict(type='int'),
|
||||
|
|
Loading…
Reference in a new issue