https://pulumi.com logo
#general
Title
# general
m

millions-parrot-88279

12/15/2022, 5:23 PM
Diagnostics:
pulumipulumiStack (projects1-dev): error: Program failed with an unhandled exception: Traceback (most recent call last): File "C:\pulumi\bin\pulumi-language-python-exec", line 192, in <module> loop.run_until_complete(coro) File "C:\Users\Mohammedbanabila\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete return future.result() File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\stack.py", line 126, in run_in_stack await run_pulumi_func(lambda: Stack(func)) File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\stack.py", line 51, in run_pulumi_func await wait_for_rpcs() File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\stack.py", line 110, in wait_for_rpcs raise exception File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\resource.py", line 523, in do_register resolver = await prepare_resource(res, ty, custom, remote, props, opts, typ) File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\resource.py", line 124, in prepare_resource serialized_props = await rpc.serialize_properties( File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\rpc.py", line 208, in serialize_properties result = await serialize_property( File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\rpc.py", line 376, in serialize_property is_known = await output._is_known File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\output.py", line 100, in is_value_known return await is_known and not contains_unknowns(await future) File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\resource.py", line 523, in do_register resolver = await prepare_resource(res, ty, custom, remote, props, opts, typ) File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\resource.py", line 124, in prepare_resource serialized_props = await rpc.serialize_properties( File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\rpc.py", line 208, in serialize_properties result = await serialize_property( File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\rpc.py", line 425, in serialize_property return { File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\rpc.py", line 426, in <dictcomp> k: await serialize_property( File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\rpc.py", line 260, in serialize_property element_type = _get_list_element_type(typ) File "E:\pulumilist\projects1\venv\lib\site-packages\pulumi\runtime\rpc.py", line 161, in _get_list_element_type raise AssertionError(f"Unexpected type. Expected 'list' got '{typ}'") AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
b

billowy-army-68599

12/15/2022, 5:24 PM
we need to see your code
m

millions-parrot-88279

12/15/2022, 5:25 PM
b

billowy-army-68599

12/15/2022, 5:31 PM
ah it’s long 😞 you are passing a string somewhere it expects a list
m

millions-parrot-88279

12/15/2022, 5:33 PM
thanks i will check it
can be divide resources into multiple files for stack in same environment
how to deploy it