high-translator-22614
07/13/2019, 6:37 PMasyncio.Future
it'll be able to use that (but it won't carry dependency information)high-translator-22614
07/13/2019, 6:37 PMFuture
comes from asyncio tasks)high-translator-22614
07/13/2019, 6:38 PMOutput.apply()
takes an async function as well, that might be the right thing? I'm not sure it canhigh-translator-22614
07/13/2019, 6:40 PMcolossal-plastic-46140
07/16/2019, 4:01 PMinstance_profile = iam.get_instance_profile(name="ab-dev")
policy = iam.get_policy(arn="*:policy/policy_test")
iam.RolePolicyAttachment(role=instance_profile,resource_name="policy_test",policy_arn=policy)
and it seems to be complaining about awaits and asynchigh-translator-22614
07/16/2019, 4:05 PMcolossal-plastic-46140
07/16/2019, 4:10 PMpulumi: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
high-translator-22614
07/16/2019, 4:16 PMhigh-translator-22614
07/16/2019, 4:17 PMwhite-balloon-205
07/16/2019, 4:18 PMcolossal-plastic-46140
07/16/2019, 4:18 PMlittle-river-49422
07/28/2019, 6:25 PMazure:ad:Application aks-app error: Error ensuring Resource Providers are registered: Cannot register provider Microsoft.DBforPostgreSQL with Azure Resource Manager: resources.ProvidersClient#Register
I dont have postgres at all in my configuration
I dont even have postgres class imported in the configurationhigh-translator-22614
07/28/2019, 7:59 PMhigh-translator-22614
07/28/2019, 8:00 PMhigh-translator-22614
07/28/2019, 8:00 PMclever-nest-47198
07/31/2019, 6:36 PMclever-nest-47198
07/31/2019, 6:37 PMclever-nest-47198
07/31/2019, 6:39 PMhigh-translator-22614
07/31/2019, 7:05 PMasyncio.ensure_future()
high-translator-22614
07/31/2019, 7:06 PMbrief-apartment-69928
08/01/2019, 12:31 AMdef enable_service(self):
service = "<http://compute.googleapis.com|compute.googleapis.com>"
gcp.projects.Service("project_services",project=self.project_id,service=service,opts=pulumi.ResourceOptions(depends_on=self.project))
brief-apartment-69928
08/01/2019, 12:32 AMerror: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/root/.pulumi/bin/pulumi-language-python-exec", line 85, in <module>
loop.run_until_complete(coro)
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/project-factory/venv/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 34, in run_in_stack
Stack(func)
File "/project-factory/venv/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 93, in __init__
func()
File "/root/.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 "/usr/lib/python3.7/runpy.py", line 280, in run_path
run_name, mod_spec, pkg_name).copy()
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "./__main__.py", line 54, in <module>
a.prj_create()
File "./__main__.py", line 38, in prj_create
self.enable_service()
File "./__main__.py", line 49, in enable_service
gcp.projects.Service("project_services",project=self.project_id,service=service,opts=pulumi.ResourceOptions(depends_on=self.project))
File "/project-factory/venv/lib/python3.7/site-packages/pulumi/resource.py", line 340, in __init__
for dep in depends_on:
TypeError: 'Project' object is not iterable
error: an unhandled error occurred: Program exited with non-zero exit code: 1
stocky-spoon-28903
08/01/2019, 10:24 AMbrief-apartment-69928
08/01/2019, 5:02 PMbrief-apartment-69928
08/01/2019, 5:03 PMstocky-spoon-28903
08/01/2019, 6:00 PMstocky-spoon-28903
08/01/2019, 6:00 PMhigh-translator-22614
08/01/2019, 6:36 PMbrief-apartment-69928
08/01/2019, 8:13 PMpulumi up
like commands through a internal apibrief-apartment-69928
08/01/2019, 8:17 PMbrief-apartment-69928
08/01/2019, 8:17 PM