Codify assets to Pulumi

Codify unmanaged assets and create reusable code. This code uses resource descriptions instead of resource IDs so that the code can be used in other subnets.

Procedure

  1. Select Inventory.

  2. Select the asset(s) and Codify > Pulumi.

The code describes the configuration of the dependencies rather than referencing the specific ID. The following codification options are available:

TypeDescription

Explicit Values

Creates code for one or multiple assets using the resource IDs of dependencies.

Data Sources

Creates code that describes the configuration of the dependencies rather than referencing the explicit resource IDs.

Codify Unmanaged Dependencies

Creates code that codifies all unmanaged dependencies with explicit resource IDs.

Codify All Dependencies

Creates code for the asset and all of its dependencies, including codified dependencies. For unmanaged dependencies, the configuration of the data source is used rather than the explicit resource ID. Use this code to create multiple instances of the same environment. This code can also be used to create a module.

Creating a pull request

Add your Pulumi resources to your integrated version control system (VCS). Resources can be added to an existing file in your VCS by selecting a target branch and file path.

Procedure

  1. Select Pull request.

  2. Select a VCS Integration.

  3. Select a Repository.

    • Optional: Select the Target Branch.

    • Optional: Add a File Path. Select Browse Repository and locate the destination file.

  4. Select Create.

Last updated