pulumi/pkg/resource/deploy/deploytest
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.go [core] Improve engine test coverage. (#8720) 2022-01-11 09:20:43 -08:00
backendclient.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
languageruntime.go Make convert more lenient 2023-06-08 11:14:31 +01:00
pluginhost.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
provider.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
resourcemonitor.go pkg/deploytest: Don't zero CustomTimeouts < 1 minute 2023-04-14 15:05:51 -07:00
resourcemonitor_test.go pkg/deploytest: Don't zero CustomTimeouts < 1 minute 2023-04-14 15:05:51 -07:00