|
|
|
@ -90,17 +90,21 @@ type TerraformStateResource = {
|
|
|
|
|
type: string;
|
|
|
|
|
name: string;
|
|
|
|
|
provider: string;
|
|
|
|
|
instances: [{ attributes: Record<string, JsonValue> }];
|
|
|
|
|
|
|
|
|
|
instances: [
|
|
|
|
|
{
|
|
|
|
|
attributes: Record<string, JsonValue>;
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export interface TerraformState {
|
|
|
|
|
outputs: {
|
|
|
|
|
[key: string]: {
|
|
|
|
|
type TerraformOutput = {
|
|
|
|
|
type: string;
|
|
|
|
|
value: any;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
value: JsonValue;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export interface TerraformState {
|
|
|
|
|
outputs: Record<string, TerraformOutput>;
|
|
|
|
|
resources: [TerraformStateResource, ...TerraformStateResource[]];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|