node-tfe
Version:
A Typescript Client for Terraform Cloud/Enterprise V2 API
35 lines (34 loc) • 876 B
TypeScript
import { Run } from './Run';
import { StateVersion } from './StateVersion';
import { WorkspaceActions } from './WorkspaceActions';
export interface Workspace {
id: string;
actions: WorkspaceActions;
agentPoolID: string;
allowDestroyPlan: boolean;
autoApply: boolean;
canQueueDestroyPlan: boolean;
createdAt: Date;
environment: string;
executionMode: string;
fileTriggersEnabled: boolean;
locked: boolean;
migrationEnvironment: string;
name: string;
operations: boolean;
queueAllRuns: boolean;
speculativeEnabled: boolean;
terraformVersion: string;
triggerPrefixes: string[];
workingDirectory: string;
currentRun?: Run;
latestRun?: Run;
agentPool?: {
id: string;
};
currentStateVersion?: StateVersion;
lockedBy?: {
id: string;
};
sourceName?: string;
}