Merge pull request #48 from jschoewe/develop

bugfix/terraform 12 var-file suffix
This commit is contained in:
beelit94 2019-05-30 23:15:27 -07:00 committed by GitHub
commit c46560eeed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(