sparse-intern-71089
09/02/2020, 7:49 PMmicroscopic-pilot-97530
Step #9 - "Pulumi Create Stack": File "./__main__.py", line 56, in <module>
Step #9 - "Pulumi Create Stack": organization_name=organization,
You’re setting organization_name
to organization
on line 56 of your __main__.py
. Is organization
a str
?damp-elephant-82829
09/03/2020, 7:23 AMdamp-elephant-82829
09/03/2020, 7:25 AMStep #9 - "Pulumi Create Stack": error: Program failed with an unhandled exception:
Step #9 - "Pulumi Create Stack": error: Traceback (most recent call last):
Step #9 - "Pulumi Create Stack": File "/pulumi/pulumi-language-python-exec", line 85, in <module>
Step #9 - "Pulumi Create Stack": loop.run_until_complete(coro)
Step #9 - "Pulumi Create Stack": File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
Step #9 - "Pulumi Create Stack": return future.result()
Step #9 - "Pulumi Create Stack": File "/usr/local/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 83, in run_in_stack
Step #9 - "Pulumi Create Stack": await run_pulumi_func(lambda: Stack(func))
Step #9 - "Pulumi Create Stack": File "/usr/local/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 35, in run_pulumi_func
Step #9 - "Pulumi Create Stack": func()
Step #9 - "Pulumi Create Stack": File "/usr/local/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 83, in <lambda>
Step #9 - "Pulumi Create Stack": await run_pulumi_func(lambda: Stack(func))
Step #9 - "Pulumi Create Stack": File "/usr/local/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 106, in __init__
Step #9 - "Pulumi Create Stack": func()
Step #9 - "Pulumi Create Stack": File "/pulumi/pulumi-language-python-exec", line 84, in <lambda>
Step #9 - "Pulumi Create Stack": coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
Step #9 - "Pulumi Create Stack": File "/usr/local/lib/python3.7/runpy.py", line 280, in run_path
Step #9 - "Pulumi Create Stack": run_name, mod_spec, pkg_name).copy()
Step #9 - "Pulumi Create Stack": File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
Step #9 - "Pulumi Create Stack": exec(code, run_globals)
Step #9 - "Pulumi Create Stack": File "./__main__.py", line 55, in <module>
Step #9 - "Pulumi Create Stack": project=ephemeral_project.new_project_id,
Step #9 - "Pulumi Create Stack": AttributeError: 'Project' object has no attribute 'new_project_id'
Step #9 - "Pulumi Create Stack": error: an unhandled error occurred: Program exited with non-zero exit code: 1
As you see from the code @microscopic-pilot-97530 there is the output in the component and it is even registereddamp-elephant-82829
09/03/2020, 7:57 PMdamp-elephant-82829
09/03/2020, 7:58 PMStep #9 - "Pulumi Create Stack": AttributeError: 'Project' object has no attribute 'new_project_id'
green-school-95910
09/03/2020, 7:58 PMehemeral_project.project_id
not .new_project_id
green-school-95910
09/03/2020, 8:01 PMnew_project_id
is the Output of you Project
componentdamp-elephant-82829
09/03/2020, 8:01 PMdamp-elephant-82829
09/03/2020, 8:02 PMgreen-school-95910
09/03/2020, 8:05 PMregister_outputs
green-school-95910
09/03/2020, 8:06 PMself.new_project_id = ephemeral_project.project_id
self.register_outputs({"new_project_id": ephemeral_project.project_id})
damp-elephant-82829
09/03/2020, 8:07 PMgreen-school-95910
09/03/2020, 8:07 PMgreen-school-95910
09/03/2020, 8:08 PMgreen-school-95910
09/03/2020, 8:10 PMgreen-school-95910
09/03/2020, 8:10 PMdamp-elephant-82829
09/03/2020, 8:14 PM