Skip to content

Commit

Permalink
fix: add required_version to json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellzc committed Nov 26, 2022
1 parent daddcc6 commit 6c25883
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@cdktf/cli-core/src/lib/terraform-json.ts
Expand Up @@ -49,6 +49,7 @@ export const terraformJsonSchema = z
required_providers: z.record(
z.object({ source: z.string(), version: z.string() }).nonstrict()
),
required_version: z.string(),
}),
data: z.record(z.any()),
provider: z.record(z.any()),
Expand Down

0 comments on commit 6c25883

Please sign in to comment.