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_directory string

the source directory containing the program to convert from.

target_directory string

a target directory to write the resulting PCL code and project file to.

mapper_target string

the gRPC target of the mapper service.

loader_target string

The target of a codegen.LoaderServer to use for loading schemas.

args string

the args passed to pulumi convert for this conversion. Normally used to specifiy a root file, or conversion options.

generated_project_directory string

the 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#

diagnostics codegen.Diagnostic

any diagnostics from code generation.

๐Ÿ“จ ConvertStateRequest#

mapper_target string

the gRPC target of the mapper service.

args string

the args passed to pulumi import for this conversion. Normally used to specifiy a state file to import from.

๐Ÿ“จ ConvertStateResponse#

resources ResourceImport

a list of resources to import.

diagnostics codegen.Diagnostic

any diagnostics from state conversion.

๐Ÿ“จ ResourceImport#

A ResourceImport specifies a resource to import.

type string

the type token for the resource.

name string

the name of the resource.

id string

the ID of the resource.

version string

the provider version to use for the resource, if any.

pluginDownloadURL string

the provider PluginDownloadURL to use for the resource, if any.

logical_name string

the logical name of the resource.

is_component bool

true if this is a component resource.

is_remote bool

true if this is a remote resource. Ignored if is_component is false.