Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ericpardee/d0062d878790e84687cbe4db01fd70ea to your computer and use it in GitHub Desktop.
Save ericpardee/d0062d878790e84687cbe4db01fd70ea to your computer and use it in GitHub Desktop.
full output
$ pulumi up
Previewing update (hello-fargate)
View Live: https://app.pulumi.com/ericpardee/hello-fargate/hello-fargate/previews/39d16f8d-43a9-4bb3-a17d-6de535d2d36c
Type Name Plan Info
pulumi:pulumi:Stack hello-fargate-hello-fargate 4 errors; 10 messages
+ ├─ aws:ecs:Cluster default-cluster create
+ └─ awsx:lb:ApplicationLoadBalancer nginx-lb create
Diagnostics:
pulumi:pulumi:Stack (hello-fargate-hello-fargate):
Error: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: 1 error occurred:
* no matching EC2 VPC found
: Error: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: 1 error occurred:
* no matching EC2 VPC found
at Object.callback (/snapshot/awsx/node_modules/@pulumi/pulumi/runtime/invoke.js:141:33)
at Object.onReceiveStatus (/snapshot/awsx/node_modules/@grpc/grpc-js/src/client.ts:338:26)
at Object.onReceiveStatus (/snapshot/awsx/node_modules/@grpc/grpc-js/src/client-interceptors.ts:426:34)
at Object.onReceiveStatus (/snapshot/awsx/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
at /snapshot/awsx/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
at processTicksAndRejections (node:internal/process/task_queues:78:11)
error: Error: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: 1 error occurred:
* no matching EC2 VPC found
at Object.callback (/snapshot/awsx/node_modules/@pulumi/pulumi/runtime/invoke.js:141:33)
at Object.onReceiveStatus (/snapshot/awsx/node_modules/@grpc/grpc-js/src/client.ts:338:26)
at Object.onReceiveStatus (/snapshot/awsx/node_modules/@grpc/grpc-js/src/client-interceptors.ts:426:34)
at Object.onReceiveStatus (/snapshot/awsx/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
at /snapshot/awsx/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
at processTicksAndRejections (node:internal/process/task_queues:78:11)
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 49, in run_pulumi_func
func()
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 126, in <lambda>
await run_pulumi_func(lambda: Stack(func))
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 149, in __init__
func()
File "/usr/local/bin/pulumi-language-python-exec", line 106, in <lambda>
coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
File "/Users/ericpardee/.asdf/installs/python/3.9.6/lib/python3.9/runpy.py", line 285, in run_path
return _run_code(code, mod_globals, init_globals,
File "/Users/ericpardee/.asdf/installs/python/3.9.6/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Volumes/DATA/Development/ericpardee/pulumi/hello-fargate/./__main__.py", line 18, in <module>
network_configuration=awsx.ecs.ServiceNetworkConfiguration(
AttributeError: module 'pulumi_awsx.ecs' has no attribute 'ServiceNetworkConfiguration'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/pulumi-language-python-exec", line 107, in <module>
loop.run_until_complete(coro)
File "/Users/ericpardee/.asdf/installs/python/3.9.6/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 126, in run_in_stack
await run_pulumi_func(lambda: Stack(func))
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 51, in run_pulumi_func
await wait_for_rpcs()
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 110, in wait_for_rpcs
raise exception
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/rpc_manager.py", line 68, in rpc_wrapper
result = await rpc
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/output.py", line 98, in is_value_known
return await is_known and not contains_unknowns(await future)
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/output.py", line 98, in is_value_known
return await is_known and not contains_unknowns(await future)
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/output.py", line 98, in is_value_known
return await is_known and not contains_unknowns(await future)
[Previous line repeated 21 more times]
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/resource.py", line 607, in do_register
resp = await asyncio.get_event_loop().run_in_executor(None, do_rpc_call)
File "/Users/ericpardee/.asdf/installs/python/3.9.6/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/resource.py", line 604, in do_rpc_call
handle_grpc_error(exn)
File "/Users/ericpardee/Development/ericpardee/pulumi/hello-fargate/venv/lib/python3.9/site-packages/pulumi/runtime/settings.py", line 268, in handle_grpc_error
raise grpc_error_to_exception(exn)
Exception: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: 1 error occurred:
* no matching EC2 VPC found
error: an unhandled error occurred: Program exited with non-zero exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment