We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a87fd1 commit 096cd21Copy full SHA for 096cd21
test.ts
@@ -90,17 +90,21 @@ type TerraformStateResource = {
90
type: string;
91
name: string;
92
provider: string;
93
- instances: [{ attributes: Record<string, JsonValue> }];
+
94
+ instances: [
95
+ {
96
+ attributes: Record<string, JsonValue>;
97
+ },
98
+ ];
99
};
100
-export interface TerraformState {
- outputs: {
- [key: string]: {
- type: string;
- value: any;
101
- };
102
+type TerraformOutput = {
+ type: string;
103
+ value: JsonValue;
104
+};
105
106
+export interface TerraformState {
107
+ outputs: Record<string, TerraformOutput>;
108
resources: [TerraformStateResource, ...TerraformStateResource[]];
109
}
110
0 commit comments