Hi Everyone I'm new to Pulumi and tried below samp...
# general
p
Hi Everyone I'm new to Pulumi and tried below sample project https://github.com/pulumi/infrastructure-as-code-workshop/tree/master/labs/aws/in-person/python/lab-01 Then I got this error doing step 5(Making Your Stack Configurable)
Copy code
error: Program failed with an unhandled exception:
    error: Traceback (most recent call last):
      File "/home/cenisar/.pulumi/bin/pulumi-language-python-exec", line 85, in <module>
        loop.run_until_complete(coro)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 104, in run_in_stack
        await run_pulumi_func(lambda: Stack(func))
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 85, in run_pulumi_func
        raise exception
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py", line 67, in rpc_wrapper
        result = await rpc
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/output.py", line 91, in is_value_known
        return await is_known and not contains_unknowns(await future)
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/output.py", line 91, in is_value_known
        return await is_known and not contains_unknowns(await future)
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/output.py", line 91, in is_value_known
        return await is_known and not contains_unknowns(await future)
      [Previous line repeated 23 more times]
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 358, in do_register
        resolver = await prepare_resource(res, ty, custom, props, opts)
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 86, in prepare_resource
        serialized_props = await rpc.serialize_properties(props, property_dependencies_resources, res.translate_input_property)
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 78, in serialize_properties
        result = await serialize_property(v, deps, input_transformer)
      File "/home/cenisar/iac-workshop/venv/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 233, in serialize_property
        raise ValueError(f"unexpected input of type {type(value).__name__}")
    ValueError: unexpected input of type tuple
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
Hope you can help me on this. Thanks in advance.
b
can you share how your code looks? which step did you get stuck on?