Skip to content

Commit 37e8465

Browse files
committed
chore: Pass provider lock flag through handlers
1 parent 6ecad20 commit 37e8465

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/cdktf-cli/src/bin/cmds/handlers.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ export async function deploy(argv: any) {
198198
const noColor = argv.noColor;
199199
const migrateState = argv.migrateState;
200200
const skipSynth = argv.skipSynth;
201+
const skipProviderLock = argv.skipProviderLock;
201202

202203
let outputsPath: string | undefined = undefined;
203204
// eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -225,6 +226,7 @@ export async function deploy(argv: any) {
225226
noColor,
226227
migrateState,
227228
skipSynth,
229+
skipProviderLock,
228230
}),
229231
);
230232
}
@@ -247,6 +249,7 @@ export async function destroy(argv: any) {
247249
const noColor = argv.noColor;
248250
const migrateState = argv.migrateState;
249251
const skipSynth = argv.skipSynth;
252+
const skipProviderLock = argv.skipProviderLock;
250253

251254
await renderInk(
252255
React.createElement(Destroy, {
@@ -262,6 +265,7 @@ export async function destroy(argv: any) {
262265
noColor,
263266
migrateState,
264267
skipSynth,
268+
skipProviderLock,
265269
}),
266270
);
267271
}
@@ -281,6 +285,7 @@ export async function diff(argv: any) {
281285
const noColor = argv.noColor;
282286
const migrateState = argv.migrateState;
283287
const skipSynth = argv.skipSynth;
288+
const skipProviderLock = argv.skipProviderLock;
284289

285290
await renderInk(
286291
React.createElement(Diff, {
@@ -294,6 +299,7 @@ export async function diff(argv: any) {
294299
noColor,
295300
migrateState,
296301
skipSynth,
302+
skipProviderLock,
297303
}),
298304
);
299305
}
@@ -519,6 +525,7 @@ export async function output(argv: any) {
519525
const stacks = argv.stacks;
520526
const includeSensitiveOutputs = argv.outputsFileIncludeSensitiveOutputs;
521527
const skipSynth = argv.skipSynth;
528+
const skipProviderLock = argv.skipProviderLock;
522529
let outputsPath: string | undefined = undefined;
523530
// eslint-disable-next-line @typescript-eslint/no-empty-function
524531
let onOutputsRetrieved: (outputs: NestedTerraformOutputs) => void = () => {};
@@ -537,6 +544,7 @@ export async function output(argv: any) {
537544
onOutputsRetrieved,
538545
outputsPath,
539546
skipSynth,
547+
skipProviderLock,
540548
}),
541549
);
542550
}

0 commit comments

Comments
 (0)