Updating a Stack
Update a stack in Resource Manager.
You can update stacks in the following ways:
- Updating a Stack Terraform Configuration (Zip File or Folder)
- Updating the Git Configuration Source Provider for a Stack
- Updating the Bucket for a Stack
- Updating Variables for a Stack
- Using Custom Providers with a Stack
- Using Terraform Registry with an Older Stack
- Upgrading a Stack from 0.11.x to 0.12.x
Tip
After updating a stack, run a plan job and then get the job logs. Monitor the job status (lifecycle state) by getting the job: Succeeded (
After updating a stack, run a plan job and then get the job logs. Monitor the job status (lifecycle state) by getting the job: Succeeded (
SUCCEEDED
) indicates that the job has completed. Depending on the complexity the job, the operation can take some time. While the job runs, or after it completes, you can get the job logs content.Following are basic instructions for updating a stack.
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 [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Resource Manager.
Use the UpdateStack operation to update a stack.