INNER CODE UNIT · Python

cmd_error

GoogleCloudPlatform/terraform-python-testing-helper · tftest.py:53

  def cmd_error(self):
    return self.args[1] if len(self.args) > 1 else None


def parse_args(init_vars=None, tf_vars=None, targets=None, **kw):
  """Convert method arguments for use in Terraform commands.

  Args:
    init_vars: dict of key/values converted to -backend-config='k=v' form, or
      string argument converted to -backend-config=arg
    tf_vars: dict of key/values converted to -var k=v form.
    **kw: converted to the appropriate Terraform flag.

  Returns:
    A list of command arguments for use with subprocess.
  """
  cmd_args = []

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…