pulumi/sdk/go/common
Pat Gavlin 249140242e
Add support for provider-side preview. (#5443)
These changes add support for provider-side previews of create and
update operations, which allows resource providers to supply output
property values for resources that are being created or updated during a
preview.

If a plugin supports provider-side preview, its create/update methods
will be invoked during previews with the `preview` property set to true.
It is the responsibility of the provider to fill in any output
properties that are known before returning. It is a best practice for
providers to only fill in property values that are guaranteed to be
identical if the preview were instead an update (i.e. only those output
properties whose values can be conclusively determined without
actually performing the create/update operation should be populated).
Providers that support previews must accept unknown values in their
create and update methods.

If a plugin does not support provider-side preview, the inputs to a
create or update operation will be propagated to the outputs as they are
today.

Fixes #4992.
2020-10-09 13:13:55 -07:00
..
apitype Allow pulumi stack export to decrypt secrets (#4046) 2020-05-11 19:16:30 +01:00
constant expose execution kind via update metadata (#5258) 2020-08-31 09:07:59 -07:00
diag Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
encoding Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource Add support for provider-side preview. (#5443) 2020-10-09 13:13:55 -07:00
testing Fix lint errors. (#4856) 2020-06-18 14:17:11 -07:00
tokens Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
tools switch os/user with luser 2020-07-27 14:44:08 -07:00
util Fixed issue #5014 (Missing Pulumi console tags on Windows) (#5406) 2020-09-25 15:04:18 +01:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace Handle blank project names in 'new' (#5504) 2020-10-05 13:40:24 -07:00