https://pulumi.com logo
#python
Title
# python
i

incalculable-sundown-82514

02/07/2019, 9:55 PM
This is what I get:
Copy code
▶ p pre
Previewing update (pyrepro-dev):

     Type                 Name                 Plan       Info
 +   pulumi:pulumi:Stack  pyrepro-pyrepro-dev  create     3 errors

Diagnostics:
  pulumi:pulumi:Stack (pyrepro-pyrepro-dev):
    error: Program failed with an unhandled exception:
    error: Traceback (most recent call last):
      File "/usr/local/pulumi/bin/pulumi-language-python-exec", line 85, in <module>
        loop.run_until_complete(coro)
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
        return future.result()
      File "/Users/swgillespie/go/src/github.com/pulumi/scratch/pyrepro/venv/lib/python3.6/site-packages/pulumi/runtime/stack.py", line 34, in run_in_stack
        Stack(func)
      File "/Users/swgillespie/go/src/github.com/pulumi/scratch/pyrepro/venv/lib/python3.6/site-packages/pulumi/runtime/stack.py", line 93, in __init__
        func()
      File "/usr/local/pulumi/bin/pulumi-language-python-exec", line 84, in <lambda>
        coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 280, in run_path
        run_name, mod_spec, pkg_name).copy()
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "./__main__.py", line 20, in <module>
        "namespace": "default"
      File "/Users/swgillespie/go/src/github.com/pulumi/scratch/pyrepro/venv/lib/python3.6/site-packages/pulumi_kubernetes/rbac/v1/RoleBinding.py", line 25, in __init__
        if not roleRef:
    NameError: name 'roleRef' is not defined
    error: an unhandled error occurred: Program exited with non-zero exit code: 1

Permalink: <https://app.pulumi.com/swgillespie/pyrepro/pyrepro-dev/previews/ba8171a5-665e-433e-a59b-106436ee7ab3>
error: an error occurred while advancing the preview