@candidpartners/snitch-types
Advanced tools
Comparing version 2.4.12 to 2.4.13
@@ -28,2 +28,3 @@ export declare type TerraformObject = { | ||
type: string; | ||
module_address?: string; | ||
name: string; | ||
@@ -47,2 +48,19 @@ provider_name?: string; | ||
} | ||
export interface ITerraformConfigModule { | ||
module_calls?: { | ||
[module_name: string]: ITerraformConfigChildModule; | ||
}; | ||
outputs?: { | ||
[name: string]: { | ||
expression: any; | ||
}; | ||
}; | ||
resources?: ITerraformConfigRootResource[]; | ||
variables?: any; | ||
} | ||
export interface ITerraformConfigChildModule { | ||
expressions?: any; | ||
module: ITerraformConfigModule; | ||
source: string; | ||
} | ||
export interface IRawTerraformPlan { | ||
@@ -53,3 +71,3 @@ format_version: string; | ||
[index: string]: { | ||
data: string; | ||
value: string; | ||
}; | ||
@@ -59,5 +77,3 @@ }; | ||
configuration: { | ||
root_module: { | ||
resources: ITerraformConfigRootResource[]; | ||
}; | ||
root_module: ITerraformConfigModule; | ||
provider_config: { | ||
@@ -77,2 +93,3 @@ [provider: string]: { | ||
getResourcesConfigurationByAddress(address: string): ITerraformConfigRootResource | undefined; | ||
getRegionForResource(resource: ITerraformPlanResource): string | null; | ||
} | ||
@@ -88,2 +105,3 @@ export interface ITerrafromTagMatch { | ||
readonly provider_name: string | null; | ||
readonly module_address: string | null; | ||
readonly actions: TTerraformAction[]; | ||
@@ -90,0 +108,0 @@ readonly mode: string; |
{ | ||
"name": "@candidpartners/snitch-types", | ||
"version": "2.4.12", | ||
"version": "2.4.13", | ||
"description": "Typescript defitions for Snitch", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
59359
1011