drift.d.ts
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
export declare const driftctlVersion = "v0.22.0";
export declare const DCTL_EXIT_CODES: {
EXIT_IN_SYNC: number;
EXIT_NOT_IN_SYNC: number;
EXIT_ERROR: number;
};
export interface DriftctlGenDriftIgnoreOptions {
input?: string;
output?: string;
'exclude-changed'?: boolean;
'exclude-missing'?: boolean;
'exclude-unmanaged'?: boolean;
}
interface DriftCTLOptions {
quiet?: true;
filter?: string;
to?: string;
headers?: string;
'tfc-token'?: string;
'tfc-endpoint'?: string;
'tf-provider-version'?: string;
strict?: true;
deep?: true;
'only-managed'?: true;
'only-unmanaged'?: true;
driftignore?: string;
'tf-lockfile'?: string;
'config-dir'?: string;
json?: boolean;
'json-file-output'?: string;
html?: boolean;
'html-file-output'?: string;
service?: string;
from?: string;
}
export declare const parseGenDriftIgnoreFlags: (options: DriftctlGenDriftIgnoreOptions) => string[];
export declare const parseDescribeFlags: (options: DriftCTLOptions) => string[];
export declare function translateExitCode(exitCode: number): number;
export declare function driftctl(args: string[]): Promise<number>;
export declare function findDriftCtl(): Promise<string>;
export {};