``` pulumi:pulumi:Stack (test-dev): sys:1: Run...
# python
c
Copy code
pulumi:pulumi:Stack (test-dev):
    sys:1: RuntimeWarning: coroutine 'get_instance_profile' was never awaited
 
    error: Program failed with an unhandled exception:
    error: Traceback (most recent call last):
      File "/usr/local/bin/pulumi-language-python-exec", line 85, in <module>
        loop.run_until_complete(coro)
      File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
        return future.result()
      File "/Users/ablum/gh/pulimi/venv/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 38, in run_in_stack
        await RPC_MANAGER.unhandled_exeception()
      File "/Users/ablum/gh/pulimi/venv/lib/python3.7/site-packages/pulumi/runtime/rpc_manager.py", line 68, in rpc_wrapper
        result = await rpc_function(*args, **kwargs)
      File "/Users/ablum/gh/pulimi/venv/lib/python3.7/site-packages/pulumi/runtime/resource.py", line 286, in do_register
        resolver = await prepare_resource(res, ty, custom, props, opts)
      File "/Users/ablum/gh/pulimi/venv/lib/python3.7/site-packages/pulumi/runtime/resource.py", line 79, in prepare_resource
        serialized_props = await rpc.serialize_properties(props, property_dependencies_resources, res.translate_input_property)
      File "/Users/ablum/gh/pulimi/venv/lib/python3.7/site-packages/pulumi/runtime/rpc.py", line 67, in serialize_properties
        struct[translated_name] = result
      File "/Users/ablum/gh/pulimi/venv/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py", line 765, in __setitem__
        _SetStructValue(self.fields[key], value)
      File "/Users/ablum/gh/pulimi/venv/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py", line 732, in _SetStructValue
        raise ValueError('Unexpected type')
    ValueError: Unexpected type
    error: an unhandled error occurred: Program exited with non-zero exit code: 1