Skip to content

Commit

Permalink
use TerraformElement
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Zhe Jiet authored and Chang Zhe Jiet committed Apr 20, 2024
1 parent 2fa10d7 commit b21edec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/blocks/Import.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Argument, Attribute } from '../arguments';
import { Util } from '../utils';
import { Block, Resource } from '.';
import { TerraformElement, Util } from '../utils';
import { Block } from '.';

/**
* @category Block
*/
export interface ImportArgs {
to: Resource;
to: TerraformElement | string;
id: string;
provider?: Argument;
}
Expand Down
8 changes: 4 additions & 4 deletions src/blocks/Moved.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Argument, Attribute } from '../arguments';
import { Util } from '../utils';
import { Block, Resource } from '.';
import { TerraformElement, Util } from '../utils';
import { Block } from '.';

/**
* @category Block
*/
export interface MovedArgs {
from: Argument;
to: Argument | Resource;
from: TerraformElement | string;
to: TerraformElement | string;
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/blocks/Removed.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Argument, Attribute } from '../arguments';
import { Util } from '../utils';
import { Block, Resource } from '.';
import { TerraformElement, Util } from '../utils';
import { Block } from '.';

/**
* @category Block
*/
export interface RemovedArgs {
from: Resource;
from: TerraformElement | string;
lifecycle: {
destroy: boolean;
};
Expand Down

0 comments on commit b21edec

Please sign in to comment.