Updating Variables for a Stack
Update the variable values used by a stack in Resource Manager.
- Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
- On the Stacks page, select the compartment that contains the stack that you want.
- Click the name of the stack that you want.
- On the Stack details page, under Resources, click Variables.
- Click Edit variables.
- On the Edit stack page, change the variable values that you want.
- Click Next.
- In the Review panel, verify the stack configuration.
- Click Save changes.
Use the
oci resource-manager stack update
command and required parameters to update the variable values used by a stack.oci resource-manager stack update --variables <json_input> [...]
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.
Use the UpdateStack operation to update the variable values used by a stack.
When defining details for UpdateStackDetails, provide the updated variable values using the
variables
attribute.