remove wrong variables
This commit is contained in:
parent
5b6f4c133e
commit
966f2d9f64
1 changed files with 1 additions and 4 deletions
|
@ -250,15 +250,12 @@ class Terraform(object):
|
|||
else:
|
||||
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
|
||||
:param name: name of output
|
||||
:return: output value
|
||||
"""
|
||||
options = kwargs
|
||||
options = self._generate_default_options(options)
|
||||
args = self._generate_default_args(dir_or_plan)
|
||||
|
||||
ret, out, err = self.cmd(
|
||||
'output', name, json=IsFlagged, *args, **options)
|
||||
|
|
Loading…
Reference in a new issue