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
Select Inventory.
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:
Type | Description |
---|---|
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
Select Pull request.
Select a VCS Integration.
Select a Repository.
Optional: Select the Target Branch.
Optional: Add a File Path. Select Browse Repository and locate the destination file.
Select Create.
Last updated