Skip to content

Instantly share code, notes, and snippets.

@matt-slalom
Created August 18, 2021 16:39
Show Gist options
  • Save matt-slalom/94f72cf1fcf356bbdf00972846f5af17 to your computer and use it in GitHub Desktop.
Save matt-slalom/94f72cf1fcf356bbdf00972846f5af17 to your computer and use it in GitHub Desktop.
Pulumi error output
% pulumi up
Previewing update (python-dev)
View Live: https://app.pulumi.com/omitted
Type Name Plan Info
+ pulumi:pulumi:Stack eks_test_python-python-dev create 3 errors; 11 messages
+ ├─ aws:iam:Role example create
+ ├─ aws:ec2:Vpc matt_test_vpc create
+ ├─ aws:iam:Role aws-eks-worker-role create
+ ├─ aws:iam:RolePolicyAttachment example-AmazonEKSClusterPolicy create
+ ├─ aws:iam:RolePolicyAttachment example-AmazonEKSVPCResourceController create
+ ├─ aws:ec2:InternetGateway matt-test-eks-igw create
+ ├─ aws:ec2:Subnet matt-test-eks-public-subnet-us-west-2a create
+ ├─ aws:ec2:SecurityGroup matt-test-eks-secgrp create
+ ├─ aws:ec2:Subnet matt-test-eks-public-subnet-us-west-2b create
+ ├─ aws:iam:InstanceProfile matt-test-eks-ng-windows create
+ ├─ aws:ec2:RouteTable matt-test-eks-route-table create
+ ├─ aws:ec2:RouteTableAssociation matt-test-eks-public-rta-us-west-2a create
+ ├─ aws:ec2:RouteTableAssociation matt-test-eks-public-rta-us-west-2b create
+ ├─ eks:index:Cluster matt-test-eks-cluster create
+ │ ├─ eks:index:ServiceRole matt-test-eks-cluster-eksRole create
+ │ │ ├─ aws:iam:Role matt-test-eks-cluster-eksRole-role create
+ │ │ ├─ aws:iam:RolePolicyAttachment matt-test-eks-cluster-eksRole-90eb1c99 create
+ │ │ └─ aws:iam:RolePolicyAttachment matt-test-eks-cluster-eksRole-4b490823 create
+ │ ├─ eks:index:ServiceRole matt-test-eks-cluster-instanceRole create
+ │ │ ├─ aws:iam:Role matt-test-eks-cluster-instanceRole-role create
+ │ │ ├─ aws:iam:RolePolicyAttachment matt-test-eks-cluster-instanceRole-e1b295bd create
+ │ │ ├─ aws:iam:RolePolicyAttachment matt-test-eks-cluster-instanceRole-3eb088f2 create
+ │ │ └─ aws:iam:RolePolicyAttachment matt-test-eks-cluster-instanceRole-03516f97 create
+ │ ├─ eks:index:RandomSuffix matt-test-eks-cluster-cfnStackName create
+ │ ├─ aws:ec2:SecurityGroup matt-test-eks-cluster-eksClusterSecurityGroup create
+ │ ├─ aws:ec2:SecurityGroupRule matt-test-eks-cluster-eksClusterInternetEgressRule create
+ │ ├─ aws:eks:Cluster matt-test-eks-cluster-eksCluster create
+ │ ├─ aws:iam:InstanceProfile matt-test-eks-cluster-instanceProfile create
+ │ ├─ pulumi:providers:kubernetes matt-test-eks-cluster-eks-k8s create
+ │ ├─ eks:index:VpcCni matt-test-eks-cluster-vpc-cni create
+ │ ├─ aws:iam:OpenIdConnectProvider matt-test-eks-cluster-oidcProvider create
+ │ ├─ aws:ec2:SecurityGroup matt-test-eks-cluster-nodeSecurityGroup create
+ │ ├─ kubernetes:core/v1:ConfigMap matt-test-eks-cluster-nodeAccess create
+ │ ├─ aws:ec2:SecurityGroupRule matt-test-eks-cluster-eksClusterIngressRule create
+ │ ├─ aws:ec2:SecurityGroupRule matt-test-eks-cluster-eksNodeClusterIngressRule create
+ │ ├─ aws:ec2:SecurityGroupRule matt-test-eks-cluster-eksExtApiServerClusterIngressRule create
+ │ ├─ aws:ec2:SecurityGroupRule matt-test-eks-cluster-eksNodeInternetEgressRule create
+ │ ├─ aws:ec2:SecurityGroupRule matt-test-eks-cluster-eksNodeIngressRule create
+ │ ├─ aws:ec2:LaunchConfiguration matt-test-eks-cluster-nodeLaunchConfiguration create
+ │ ├─ aws:cloudformation:Stack matt-test-eks-cluster-nodes create
+ │ └─ pulumi:providers:kubernetes matt-test-eks-cluster-provider create
+ └─ pulumi:providers:kubernetes provider create
Diagnostics:
pulumi:pulumi:Stack (eks_test_python-python-dev):
Error: unknown resource type eks:index:Cluster: Error: unknown resource type eks:index:Cluster
at Object.construct (/Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/cmd/provider/index.ts:47:31)
at deserializeProperty (/Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/pulumi/runtime/rpc.js:518:51)
at Object.deserializeProperties (/Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/pulumi/runtime/rpc.js:157:24)
at /Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/pulumi/provider/server.js:456:44
at Generator.next (<anonymous>)
at /Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/pulumi/provider/server.js:21:71
at new Promise (<anonymous>)
at __awaiter (/Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/pulumi/provider/server.js:17:12)
at deserializeInputs (/Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/pulumi/provider/server.js:454:12)
at Server.<anonymous> (/Users/username/.pulumi/plugins/resource-eks-v0.32.0/node_modules/@pulumi/pulumi/provider/server.js:280:38)
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 515, in do_rpc_call
return monitor.RegisterResource(req)
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "unknown resource type eks:index:Cluster"
debug_error_string = "{"created":"@1629304036.920964000","description":"Error received from peer ipv4:127.0.0.1:57513","file":"src/core/lib/surface/call.cc","file_line":1070,"grpc_message":"unknown resource type eks:index:Cluster","grpc_status":2}"
>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/bin/pulumi-language-python-exec", line 92, in <module>
loop.run_until_complete(coro)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 110, in run_in_stack
await run_pulumi_func(lambda: Stack(func))
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 45, in run_pulumi_func
await wait_for_rpcs()
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 94, in wait_for_rpcs
raise exception
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py", line 65, in rpc_wrapper
result = await rpc
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/output.py", line 94, in is_value_known
return await is_known and not contains_unknowns(await future)
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/output.py", line 94, in is_value_known
return await is_known and not contains_unknowns(await future)
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/output.py", line 94, in is_value_known
return await is_known and not contains_unknowns(await future)
[Previous line repeated 27 more times]
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 520, in do_register
resp = await asyncio.get_event_loop().run_in_executor(None, do_rpc_call)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 517, in do_rpc_call
handle_grpc_error(exn)
File "/Users/username/directory/pulumi_eks_python/venv/lib/python3.8/site-packages/pulumi/runtime/settings.py", line 254, in handle_grpc_error
raise grpc_error_to_exception(exn)
Exception: unknown resource type eks:index:Cluster
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