import * as pulumi from "@pulumi/pulumi"; /** * 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. * For more information, see * [Getting a Stack State File](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/get-stack-tf-state.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStackTfState = oci.resourcemanager.getStackTfState({ * stackId: testStack.id, * }); * ``` */ export declare function getStackTfState(args: GetStackTfStateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStackTfState. */ export interface GetStackTfStateArgs { /** * The path and filename (relative to where Terraform is executing) to write the external statefile to. */ localPath: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack. */ stackId: string; } /** * A collection of values returned by getStackTfState. */ export interface GetStackTfStateResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The path and filename (relative to where Terraform is executing) to write the external statefile to. */ readonly localPath: string; readonly stackId: string; } /** * 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. * For more information, see * [Getting a Stack State File](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/get-stack-tf-state.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStackTfState = oci.resourcemanager.getStackTfState({ * stackId: testStack.id, * }); * ``` */ export declare function getStackTfStateOutput(args: GetStackTfStateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStackTfState. */ export interface GetStackTfStateOutputArgs { /** * The path and filename (relative to where Terraform is executing) to write the external statefile to. */ localPath: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack. */ stackId: pulumi.Input; } //# sourceMappingURL=getStackTfState.d.ts.map