Getting a Stack State File

Download the Terraform state file used by a stack in Resource Manager. The Terraform state file for a stack is the one associated with the most recent successful job.

Using the Console

The Terraform state file listed on the stack detail page is the same as the Terraform state file listed on the job detail page for the most recent successful job.
  1. Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
  2. Choose a compartment that you have permission to work in (on the left side of the page).
  3. Click the name of the stack that you want.
    The Stack details page opens.
  4. Go to More actions and select Download Terraform state.

Using the API

Use the GetStackTfState operation to get the Terraform state file for a stack.