Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ohoareau committed Sep 21, 2024
1 parent d84f0ee commit 244bfb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/generators/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ export default async (
regions,
defaultRegion,
format,
vars: layerVars,
}: {
regions: Record<string, layer_region_config>;
defaultRegion: string;
format: string;
vars?: Record<string, unknown>;
},
vars: Record<string, unknown>,
_: enriched_layer_config,
Expand Down Expand Up @@ -38,7 +40,7 @@ export default async (
rsuffix: '',
rsuffix_explicit: '',
};
vars = {...vars, ...defaultVars};
vars = {...vars, ...layerVars, ...defaultVars};
return [
[
`terraform.tf`,
Expand Down

0 comments on commit 244bfb8

Please sign in to comment.