Editing a Configuration Using Visual Studio Code
Work with stacks and Terraform configurations in Visual Studio Code using the OCI Resource Manager extension for VS Code.
OCI Resource Manager is an extension of OCI Toolkit for Visual Studio Code.
Prerequisites
Either install OCI Toolkit for Visual Studio Code or install both OCI Toolkit Core and OCI Resource Manager.
As with any Oracle client, obtain an API signing key. For guidance, see Generating an API Signing Key (Console).
Installing the Extension
For instructions on installing the OCI Resource Manager extension for VS Code, see the following.
Listing Stacks
In the tree navigation on the left side, expand the node for the compartment that you want.
Opening a Terraform Configuration for Editing
Saving Changes
Running the Plan Action
Note
You can run the plan action on a stack outside Visual Studio Code. See Creating a Plan Job and Editing a Configuration Using Code Editor.
You can run the plan action on a stack outside Visual Studio Code. See Creating a Plan Job and Editing a Configuration Using Code Editor.
SUCCEEDED
) indicates that the job has completed. Depending on the complexity of the job, the operation can take some time. While the job runs, or after it finishes, you can get the job logs content.Running the Apply Action
Note
You can run the apply action on a stack outside Visual Studio Code. See Creating an Apply Job and Editing a Configuration Using Code Editor.
You can run the apply action on a stack outside Visual Studio Code. See Creating an Apply Job and Editing a Configuration Using Code Editor.