Hi All. I am doing some refactor in one of our pro...
# general
a
Hi All. I am doing some refactor in one of our providers due to API changes, and I am trying to regenerate the pulumi providers I am executing the command `$GOPATH/bin/upgrade-provider zscaler/pulumi-zpa --kind bridge`but then it returns the below errors whenever I attempt that. Does anyone have any guidance or other threads you can point me to where I can find a solution for it? Thank you
Copy code
warning: unable to convert HCL example for Pulumi entity '#/functions/%szpa:index/getPraConsoleController:getPraConsoleController'. The example will be dropped from any generated docs or SDKs: 1 error occurred:
	* [python] #-functions-%szpa:index-getPraConsoleController:getPraConsoleController.pp:2,5-7: unsupported attribute 'id'; unsupported attribute 'id', and 1 other diagnostic(s)


warning: unable to convert HCL example for Pulumi entity '#/functions/%szpa:index/getAppConnectorController:getAppConnectorController'. The example will be dropped from any generated docs or SDKs: 1 error occurred:
	* [python] #-functions-%szpa:index-getAppConnectorController:getAppConnectorController.pp:1,5-7: unknown property 'id' among [microtenantId microtenantName name]; , and 2 other diagnostic(s)


warning: unable to convert HCL example for Pulumi entity '#/functions/%szpa:index/getPRAApproval:getPRAApproval'. The example will be dropped from any generated docs or SDKs: 1 error occurred:
	* [python] failed to convert HCL for #/functions/%szpa:index/getPRAApproval:getPRAApproval to python: #-functions-%szpa:index-getPRAApproval:getPRAApproval.pp:0,57-2,2: cannot assign expression of type { emailIds: string } to location of type   {
    emailIds: list(output(string) | string) | output(list(string)) | output(list(string)?)?,
    id: output(string) | output(string?) | string?,
  }
| output({ emailIds: list(string)?, id: string? }): ;
e
We're unable to support https://github.com/pulumi/upgrade-provider at the moment as this is internal WIP tooling. That said at a glance you can ignore example rendering warnings probably.
a
Is there a command/flag to ignore these errors? because the cicd will fail because of it.
e
I do not think there is one. I don't believe warnings cause failures. I think if there might be a different root cause hiding.