We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84f0ee commit 244bfb8Copy full SHA for 244bfb8
src/generators/v2.ts
@@ -7,10 +7,12 @@ export default async (
7
regions,
8
defaultRegion,
9
format,
10
+ vars: layerVars,
11
}: {
12
regions: Record<string, layer_region_config>;
13
defaultRegion: string;
14
format: string;
15
+ vars?: Record<string, unknown>;
16
},
17
vars: Record<string, unknown>,
18
_: enriched_layer_config,
@@ -38,7 +40,7 @@ export default async (
38
40
rsuffix: '',
39
41
rsuffix_explicit: '',
42
};
- vars = {...vars, ...defaultVars};
43
+ vars = {...vars, ...layerVars, ...defaultVars};
44
return [
45
[
46
`terraform.tf`,
0 commit comments