-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use InputPropertyError for validations in the node group components (#…
…1592) pu/pu introduced new error types for component authors to use. The `InputPropertyError` and `InputPropertiesError` errors are pretty printed by the engine and don't confuse users with a load of GRPC stack traces (see [docs](https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/classes/InputPropertyError.html)). Additionally those errors accumulate multiple validation errors and allow presenting them all to users. Previously we exited on the first error. For adding EFA support (#1564) we'd like to make use of these new errors. In preparation for that I've updated the node group components to make use of this new error type.
- Loading branch information
1 parent
3328fbe
commit 3f7f18c
Showing
4 changed files
with
253 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.