pulumi/pkg/resource
Fraser Waters 46332e7d17 Make convert more lenient
Fixes https://github.com/pulumi/pulumi/issues/13117

This adds a new "--strict" flag to `pulumi convert` which defaults to
false. When strict is NOT set we bind the PCL with the extra options of
`SkipResourceTypechecking`, `AllowMissingVariables`, and
`AllowMissingProperties`. This will change some errors to warnings in
code generation.

The `strict` flag is sent over the gRPC interface to the Go/Node plugins
for their `GenerateProject` methods as they have to do PCL binding
plugin side currently.
2023-06-08 11:14:31 +01:00
..
analyzer all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
deploy Make convert more lenient 2023-06-08 11:14:31 +01:00
edit all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
graph all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
provider all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
stack Change secret.Manager State to json.RawMessage 2023-05-22 11:21:15 +01:00
testdata ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00