Program conversion#
pulumi/pulumi:proto/pulumi/converter.proto
Services#
๐ Converter#
Converter is a service for converting between other ecosystems and Pulumi. This is currently unstable and experimental.
๐ ConvertState#
โคต๏ธ ConvertStateRequest โคด๏ธ ConvertStateResponse
ConvertState converts state from the target ecosystem into a form that can be imported into Pulumi.
๐ ConvertProgram#
โคต๏ธ ConvertProgramRequest โคด๏ธ ConvertProgramResponse
ConvertProgram converts a program from the target ecosystem into a form that can be used with Pulumi.
Messages#
๐จ ConvertProgramRequest#
source_directorystringthe source directory containing the program to convert from.
target_directorystringa target directory to write the resulting PCL code and project file to.
mapper_targetstringthe gRPC target of the mapper service.
loader_targetstringThe target of a codegen.LoaderServer to use for loading schemas.
argsstringthe args passed to
pulumi convertfor this conversion. Normally used to specifiy a root file, or conversion options.generated_project_directorystringthe directory where the final generated project for the eventual destination language will be written. use to determine relative paths of any asset that will be copied over. Do not write files to this directory as these files might be overwritten in the project generation process.
๐จ ConvertProgramResponse#
diagnosticscodegen.Diagnosticany diagnostics from code generation.
๐จ ConvertStateRequest#
๐จ ConvertStateResponse#
resourcesResourceImporta list of resources to import.
diagnosticscodegen.Diagnosticany diagnostics from state conversion.
๐จ ResourceImport#
A ResourceImport specifies a resource to import.
typestringthe type token for the resource.
namestringthe name of the resource.
idstringthe ID of the resource.
versionstringthe provider version to use for the resource, if any.
pluginDownloadURLstringthe provider PluginDownloadURL to use for the resource, if any.
logical_namestringthe logical name of the resource.
is_componentbooltrue if this is a component resource.
is_remotebooltrue if this is a remote resource. Ignored if is_component is false.