sparse-intern-71089
12/01/2021, 7:13 PMworried-xylophone-86184
12/01/2021, 7:13 PMerror: 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}"
worried-xylophone-86184
12/01/2021, 7:15 PMxyz
to the required provider name.billowy-army-68599
worried-xylophone-86184
12/02/2021, 3:08 AMworried-xylophone-86184
12/02/2021, 3:09 AMindexContent
?prehistoric-activity-61023
12/02/2021, 9:11 AMindex
and still got it workingworried-xylophone-86184
12/02/2021, 11:10 AMworried-xylophone-86184
12/02/2021, 11:12 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.worried-xylophone-86184
12/02/2021, 11:37 AMaws
folder created. That does not happen with index
worried-xylophone-86184
12/03/2021, 12:27 PMworried-xylophone-86184
12/09/2021, 6:25 AMI have resources with tokens like:Any existing example will also docompanyName:gcp:CloudSql