Merge pull request #1 from jschoewe/bugfix/terraform-12-var-file-name-suffix
Added suffix variable
This commit is contained in:
commit
832fc9eb7d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue