mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
2
changelogs/fragments/6497-terraform-fix.yml
Normal file
2
changelogs/fragments/6497-terraform-fix.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- "terraform - fix broken ``warn()`` call (https://github.com/ansible-collections/community.general/pull/6497)."
|
||||||
@@ -315,7 +315,7 @@ def _state_args(state_file):
|
|||||||
if not state_file:
|
if not state_file:
|
||||||
return []
|
return []
|
||||||
if not os.path.exists(state_file):
|
if not os.path.exists(state_file):
|
||||||
module.warn(msg='Could not find state_file "{0}", the process will not destroy any resources, please check your state file path.'.format(state_file))
|
module.warn('Could not find state_file "{0}", the process will not destroy any resources, please check your state file path.'.format(state_file))
|
||||||
return ['-state', state_file]
|
return ['-state', state_file]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user