Skip to content

Commit 244bfb8

Browse files
committed
fix: fix
1 parent d84f0ee commit 244bfb8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/generators/v2.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ export default async (
77
regions,
88
defaultRegion,
99
format,
10+
vars: layerVars,
1011
}: {
1112
regions: Record<string, layer_region_config>;
1213
defaultRegion: string;
1314
format: string;
15+
vars?: Record<string, unknown>;
1416
},
1517
vars: Record<string, unknown>,
1618
_: enriched_layer_config,
@@ -38,7 +40,7 @@ export default async (
3840
rsuffix: '',
3941
rsuffix_explicit: '',
4042
};
41-
vars = {...vars, ...defaultVars};
43+
vars = {...vars, ...layerVars, ...defaultVars};
4244
return [
4345
[
4446
`terraform.tf`,

0 commit comments

Comments
 (0)