This data source provides details about a specific Stack Tf State resource in Oracle Cloud Infrastructure Resource Manager service.
Returns the Terraform state for the specified stack.
data "oci_resourcemanager_stack_tf_state" "test_stack_tf_state" {
#Required
stack_id = oci_resourcemanager_stack.test_stack.id
}
The following arguments are supported:
stack_id
- (Required) The OCID of the stack.The following attributes are exported:
local_path
- The path and filename (relative to where Terraform is executing) to write the external statefile to.