Added suffix variable

merge-requests/1/head
John Schoewe 5 years ago
parent 99950cb03c
commit 576197d768

@ -396,7 +396,7 @@ class VariableFiles(object):
self.files = []
def create(self, variables):
with tempfile.NamedTemporaryFile('w+t', delete=False) as temp:
with tempfile.NamedTemporaryFile('w+t', suffix='.tfvars.json', delete=False) as temp:
log.debug('{0} is created'.format(temp.name))
self.files.append(temp)
log.debug(

Loading…
Cancel
Save