Skip to content

Commit

Permalink
feat: Modify the parameters of ProvisionerArgs to adapt to remote-exec
Browse files Browse the repository at this point in the history
  • Loading branch information
WFUing committed Jan 15, 2024
1 parent 9519d17 commit de4fe0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 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,7 +11,8 @@ export type ProvisionerType = 'local-exec' | 'remote-exec';
* @category Block
*/
export interface ProvisionerArgs {
command: string;
command?: string;
inline?: string[];
when?: Argument<'destroy'>;
on_failure?: Argument<'continue' | 'fail'>;
}
Expand Down

0 comments on commit de4fe0b

Please sign in to comment.