remove wrong variables

This commit is contained in:
Wythe Lin 2017-08-02 15:18:11 -07:00
parent 5b6f4c133e
commit 966f2d9f64

View file

@ -250,15 +250,12 @@ class Terraform(object):
else: else:
return ret_code, None, None return ret_code, None, None
def output(self, name, dir_or_plan=None, **kwargs): def output(self, name, *args, **kwargs):
""" """
https://www.terraform.io/docs/commands/output.html https://www.terraform.io/docs/commands/output.html
:param name: name of output :param name: name of output
:return: output value :return: output value
""" """
options = kwargs
options = self._generate_default_options(options)
args = self._generate_default_args(dir_or_plan)
ret, out, err = self.cmd( ret, out, err = self.cmd(
'output', name, json=IsFlagged, *args, **options) 'output', name, json=IsFlagged, *args, **options)