Updating a Stack (Any Type)

Update a stack in Resource Manager. This page provides the basic steps for updating a stack.

    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, go to Edit and then select Edit stack.
    5. On the Edit stack page, update the values you want.
      For example, upload a different Terraform configuration, or update the stack name or description. For information about the fields, see Creating a Stack.
    6. Click Next.
    7. In the Configure variables panel, update variable values as needed.
    8. Click Next.
    9. In the Review panel, verify the stack configuration.
    10. To automatically provision resources on creation of the stack, select Run apply.
    11. Click Save changes.

    The Stack details page opens.

    If Run apply was selected, then Resource Manager runs the apply action on the updated stack.

  • Use the oci resource-manager stack update command and required parameters to update a stack.

    oci resource-manager stack update --stack-id <stack_OCID>

    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 a stack.