Updating Variables for a Stack

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

    1. On the Stacks list page, find the stack that you want to work with. If you need help finding the list page or the stack, see Listing Stacks.
    2. From the Actions menu (Actions Menu) for the stack, select Edit.
    3. On the Edit stack panel, select Configure variables.
    4. Change the variable values that you want.
    5. Select Next.
    6. In the Review panel, verify the stack configuration.
    7. Select 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.