Skip to content

Commit

Permalink
Type check resource attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Nov 16, 2022
1 parent b4cf661 commit 9f388ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
changes:
- type: fix
scope: programgen
description: Enable type checking for resource attributes
3 changes: 0 additions & 3 deletions pkg/codegen/pcl/binder.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ func BindProgram(files []*syntax.File, opts ...BindOption) (*Program, hcl.Diagno
o(&options)
}

// TODO: remove this once the latest pulumi-terraform-bridge has been rolled out
options.skipResourceTypecheck = true

if options.loader == nil {
cwd, err := os.Getwd()
if err != nil {
Expand Down

0 comments on commit 9f388ce

Please sign in to comment.