Terraform: Allow lock flag to get set to false (#53873)

This change allows a false value to propagate appropriately to the terraform cli.
pull/53912/head
Nick Curry 5 years ago committed by Abhijeet Kasurde
parent 6852186235
commit e8972ce459

@ -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…
Cancel
Save