pulumi/pkg/resource/plugin
Justin Van Patten 83c5e766a4
Provide a more helpful PaC error (#3525)
To allow Policy Packs to run against Pulumi programs written in all languages, we now look for the `@pulumi/pulumi/cmd/run-policy-pack` module in the Policy Pack's node_modules (instead of in the Pulumi program's node_modules; which doesn't exist for non-node languages). The `@pulumi/policy` library that a Policy Pack will depend on should already depend on a recent enough version of `@pulumi/pulumi`. When we can't find the module, it's more likely it's due to the dependencies for the Policy Pack not being installed. Provide a more helpful error message in this case.
2019-11-19 18:47:47 +00:00
..
analyzer.go Add support for aggregate resource analysis (#3366) 2019-10-25 08:29:02 -07:00
analyzer_plugin.go Provide a more helpful PaC error (#3525) 2019-11-19 18:47:47 +00:00
check.go Add license headers 2018-05-22 15:02:47 -07:00
config_source.go Add license headers 2018-05-22 15:02:47 -07:00
context.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
host.go Implement `--policy-pack` flag on `up` and `preview` 2019-08-12 12:45:48 -07:00
host_server.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
langruntime.go Add nodejs support for query mode 2019-05-02 18:08:08 -07:00
langruntime_plugin.go Enable policies to run for all languages (#3524) 2019-11-18 18:29:12 +00:00
plugin.go Provide a more helpful PaC error (#3525) 2019-11-19 18:47:47 +00:00
provider.go Implement `StreamInvoke` 2019-11-05 10:47:48 -08:00
provider_plugin.go Enable policies to run for all languages (#3524) 2019-11-18 18:29:12 +00:00
provider_plugin_test.go Fix up some spelling errors 2019-06-18 15:30:25 -07:00
rpc.go Introduce MarshalOptions.{RejectAsset, RejectArchive} 2019-08-26 15:19:14 -07:00
rpc_test.go Introduce MarshalOptions.{RejectAsset, RejectArchive} 2019-08-26 15:19:14 -07:00