Terraform: Allow lock flag to get set to false (#53873)
This change allows a false value to propagate appropriately to the terraform cli.
This commit is contained in:
parent
6852186235
commit
e8972ce459
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ def main():
|
|||
if module.params.get('lock'):
|
||||
command.append('-lock=true')
|
||||
else:
|
||||
command.append('-lock=true')
|
||||
command.append('-lock=false')
|
||||
if module.params.get('lock_timeout') is not None:
|
||||
command.append('-lock-timeout=%ds' % module.params.get('lock_timeout'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue