worried-xylophone-86184
12/01/2021, 7:13 PMxyz:index:StaticPage
) , to something like company_name:module_name:resource_name
. But whenever I name it something apart from index
I end up getting this stack trace mentioned in the thread. Can someone help me out with this? I might be missing something obviouserror: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/home/sushantk/temporary/pulumi-demo/pulumi-COMPANY_NAME/examples/COMPANY_NAME-example/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 519, in do_rpc_call
return monitor.RegisterResource(req)
File "/home/sushantk/temporary/pulumi-demo/pulumi-COMPANY_NAME/examples/COMPANY_NAME-example/venv/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/sushantk/temporary/pulumi-demo/pulumi-COMPANY_NAME/examples/COMPANY_NAME-example/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 = "Unexpected <class 'Exception'>: Unknown resource type COMPANY_NAME:MODULE_NAME:RESOURCE_NAME"
debug_error_string = "{"created":"@1638385658.479468567","description":"Error received from peer ipv4:127.0.0.1:41779","file":"src/core/lib/surface/call.cc","file_line":1063,"grpc_message":"Unexpected <class 'Exception'>: Unknown resource type COMPANY_NAME:MODULE_NAME:RESOURCE_NAME","grpc_status":2}"
xyz
to the required provider name.billowy-army-68599
12/01/2021, 11:29 PMworried-xylophone-86184
12/02/2021, 3:08 AMindexContent
?prehistoric-activity-61023
12/02/2021, 9:11 AMindex
and still got it workingworried-xylophone-86184
12/02/2021, 11:10 AM<package>:<module>:<type>
https://www.pulumi.com/docs/intro/concepts/resources/#authoring-a-new-component-resource
I had assumed that this would be configurableprehistoric-activity-61023
12/02/2021, 11:21 AMcompanyName:gcp:CloudSql
and it works like a charm so I don’t really get the part where you guys say it has to be index
.worried-xylophone-86184
12/02/2021, 11:36 AMindex
and run make generate
the python SDK that gets generated has en extra directory created with that module name. And when I use index that does not happen.aws
folder created. That does not happen with index
I have resources with tokens like:Any existing example will also docompanyName:gcp:CloudSql