Updating Variables for a Stack

Update the variable values used by a stack in Resource Manager.

    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
    2. On the Stacks page, select the compartment that contains the stack that you want.
    3. Click the name of the stack that you want.
    4. On the Stack details page, under Resources, click Variables.
    5. Click Edit variables.
    6. On the Edit stack page, change the variable values that you want.
    7. Click Next.
    8. In the Review panel, verify the stack configuration.
    9. 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.