UNPKG

@pulumi/terraform

Version:

The Terraform resource provider for Pulumi lets you consume the outputs contained in Terraform state files from your Pulumi programs.

24 lines (23 loc) 1.36 kB
import * as pulumi from "@pulumi/pulumi"; export declare namespace state { interface Workspaces { /** * The full name of one remote workspace. When configured, only the default workspace can be used. This option conflicts with prefix. */ name?: string; /** * A prefix used in the names of one or more remote workspaces, all of which can be used with this configuration. The full workspace names are used in HCP Terraform, and the short names (minus the prefix) are used on the command line for Terraform CLI workspaces. If omitted, only the default workspace can be used. This option conflicts with name. */ prefix?: string; } interface WorkspacesArgs { /** * The full name of one remote workspace. When configured, only the default workspace can be used. This option conflicts with prefix. */ name?: pulumi.Input<string>; /** * A prefix used in the names of one or more remote workspaces, all of which can be used with this configuration. The full workspace names are used in HCP Terraform, and the short names (minus the prefix) are used on the command line for Terraform CLI workspaces. If omitted, only the default workspace can be used. This option conflicts with name. */ prefix?: pulumi.Input<string>; } }