Remove `required=False` optional setting from `decort_account_info` module argument specification

main
Dmitriy Smirnov 7 months ago
parent 734408ab10
commit 53e30105b1

@ -27,12 +27,10 @@ class DecortAccountInfo(DecortController):
argument_spec=dict( argument_spec=dict(
app_id=dict( app_id=dict(
type='str', type='str',
required=False,
fallback=(env_fallback, ['DECORT_APP_ID']) fallback=(env_fallback, ['DECORT_APP_ID'])
), ),
app_secret=dict( app_secret=dict(
type='str', type='str',
required=False,
fallback=(env_fallback, ['DECORT_APP_SECRET']), fallback=(env_fallback, ['DECORT_APP_SECRET']),
no_log=True no_log=True
), ),
@ -51,7 +49,6 @@ class DecortAccountInfo(DecortController):
), ),
jwt=dict( jwt=dict(
type='str', type='str',
required=False,
fallback=(env_fallback, ['DECORT_JWT']), fallback=(env_fallback, ['DECORT_JWT']),
no_log=True no_log=True
), ),
@ -61,17 +58,14 @@ class DecortAccountInfo(DecortController):
), ),
oauth2_url=dict( oauth2_url=dict(
type='str', type='str',
required=False,
fallback=(env_fallback, ['DECORT_OAUTH2_URL']) fallback=(env_fallback, ['DECORT_OAUTH2_URL'])
), ),
resource_consumption=dict( resource_consumption=dict(
type='bool', type='bool',
required=False,
default=False default=False
), ),
verify_ssl=dict( verify_ssl=dict(
type='bool', type='bool',
required=False,
default=True default=True
), ),
), ),

Loading…
Cancel
Save