Skip to content

Commit

Permalink
Revert "feat: Modify the parameters of ProvisionerArgs to adapt to re…
Browse files Browse the repository at this point in the history
…mote-exec"

This reverts commit de4fe0b.
  • Loading branch information
Chang Zhe Jiet authored and Chang Zhe Jiet committed Jan 15, 2024
1 parent 0ca6841 commit 3223b91
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/blocks/Provisioner.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Block } from '.';
import { Argument, Attribute } from '../arguments';
import { Util } from '../utils';
import { Block } from '.';

/**
* @category Block
Expand All @@ -11,8 +11,7 @@ export type ProvisionerType = 'local-exec' | 'remote-exec';
* @category Block
*/
export interface ProvisionerArgs {
command?: string;
inline?: string[];
command: string;
when?: Argument<'destroy'>;
on_failure?: Argument<'continue' | 'fail'>;
}
Expand Down

0 comments on commit 3223b91

Please sign in to comment.