Commit graph

5212 commits

Author SHA1 Message Date
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
Lee Briggs
b1229ae34e
fix the yaml indentation (#5539) 2020-10-09 10:31:56 -07:00
Paul Stack
5430586a9e
Upgrade to Go v1.15.x (#5467) 2020-10-09 17:35:12 +01:00
Evan Boyle
b86e6ae93e
add plugin management utils to node Automation API (#5536) 2020-10-09 09:03:03 -07:00
Komal
6c51e6ce1c
[codegen/nodejs] - Update enum generation (#5525) 2020-10-09 08:27:01 -07:00
Lee Briggs
b386075c66
Build master & feature branches in GHA 2020-10-08 13:36:16 -07:00
Lee Briggs
442d367b0b
fix perms on exec binary (#5524) 2020-10-08 13:32:53 -07:00
Lee Briggs
7093565e2c
jaxxstorm/build fixes (#5483)
* fix pulumi bot token and env var

* use commit hash non-marketplace actions

* fix goreleaser binaries

foo

* fix goreleaser archive format

* update workflows to use repo-dispatch

* fixing tag naming

* add support for beta tags

* add prerelease workflow

* remove windows builds

* only use travis for tags

* remove prerelease steps

* fix container build indentation

* check the policy tempdir exists
2020-10-08 12:43:38 -07:00
evanboyle
42f301ac0f bump node test timeout 2020-10-08 12:19:01 -07:00
evanboyle
bf68108193 changelog 2020-10-08 12:19:01 -07:00
evanboyle
39297cb9dd make public declarations implicit 2020-10-08 12:19:01 -07:00
evanboyle
7b766924ec update error strategy to be more idiomatic 2020-10-08 12:19:01 -07:00
evanboyle
97e1d25802 update doc formatting 2020-10-08 12:19:01 -07:00
evanboyle
73a5516958 prefer interfaces over types for object-like specs 2020-10-08 12:19:01 -07:00
evanboyle
9f4461db37 Node Automation API tsdoc 2020-10-08 12:19:01 -07:00
evanboyle
84136e2271 mark exports as internal where appropriate 2020-10-08 12:19:01 -07:00
evanboyle
99574ff555 node automation api structured error design 2020-10-08 12:19:01 -07:00
evanboyle
631e6cbaf1 improve typing for UpdateSummary timestamps, WhoAmI results 2020-10-08 12:19:01 -07:00
evanboyle
2d49cabf68 simplify project and stack settings impl 2020-10-08 12:19:01 -07:00
evanboyle
cf194bff4b remove parallelism from node automation api operations 2020-10-08 12:19:01 -07:00
evanboyle
848086fa26 remove stack property getters 2020-10-08 12:19:01 -07:00
evanboyle
e77fc0a961 only expose static create methods (and overloads) for Stack and LocalWorkspace 2020-10-08 12:19:01 -07:00
evanboyle
6f622bc9e1 fix test mode, test mode tests 2020-10-08 12:19:01 -07:00
evanboyle
66a71f2bab cleanup automation api host runtime settings post-run, fix tests 2020-10-08 12:19:01 -07:00
evanboyle
7d171917ea support inline programs for nodejs automation api 2020-10-08 12:19:01 -07:00
evanboyle
b902472a03 add static LocalWorkspace methods for New/Select/Upsert Stack w/ local and inline programs 2020-10-08 12:19:01 -07:00
evanboyle
5380223c28 bump test timeout 2020-10-08 12:19:01 -07:00
evanboyle
234f6a1707 up/preview/refresh/destroy 2020-10-08 12:19:01 -07:00
evanboyle
435018676e Stack status methods 2020-10-08 12:19:01 -07:00
evanboyle
87e5b6f5eb Stack.runPulumiCmd 2020-10-08 12:19:01 -07:00
evanboyle
6a29404db2 LocalWorkspace list stacks and current stack 2020-10-08 12:19:01 -07:00
evanboyle
0420d38354 LocalWorkspace and Stack config 2020-10-08 12:19:01 -07:00
evanboyle
d7ea6a089b Stack Create/Select/Upsert 2020-10-08 12:19:01 -07:00
evanboyle
0062292e3b complete LocalWorkspace stub 2020-10-08 12:19:01 -07:00
evanboyle
5c220c192a LocalWorkspace create/select/remove stack 2020-10-08 12:19:01 -07:00
evanboyle
112720702a LocalWorkspace.stackSettings() tests 2020-10-08 12:19:01 -07:00
evanboyle
946c12c891 continue LocalWorkspace impl, add runPulumiCmd 2020-10-08 12:19:01 -07:00
evanboyle
06b89e6151 LocalWorkspace.StackSettings() 2020-10-08 12:19:01 -07:00
evanboyle
2ace0b0234 StackSettings 2020-10-08 12:19:01 -07:00
evanboyle
faafb6b157 LocalWorkspace.saveProjectSettings() 2020-10-08 12:19:01 -07:00
evanboyle
fa388380c4 LocalWorkspace.projectSettings() 2020-10-08 12:19:01 -07:00
evanboyle
ebdd3c1053 project settings 2020-10-08 12:19:01 -07:00
evanboyle
36d10773cc Workspace interface 2020-10-08 12:19:01 -07:00
Vivek Lakshmanan
08272ff49a
Merge pull request #5520 from pulumi/vl/dotnetProgramGen
Fix config params and default handling for .NET programgen
2020-10-08 00:30:11 -07:00
Komal
7039e67284
[codegen/nodejs] - Enums (#5472) 2020-10-07 18:13:10 -07:00
Paul Stack
5e8f219652
Reorder resource docs templates to make deprecated more prominent (#5523)
Fixes: https://github.com/pulumi/docs/issues/4340

The deprecated message sits below the examples so it is not clear
to the user that the resource / datasource is deprecated
2020-10-07 21:25:25 +01:00
Vivek Lakshmanan
a0ee220243 Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
Vivek Lakshmanan
f4235f27a1 Fix config params and default handling for .NET programgen
Fixes https://github.com/pulumi/pulumi-azure-nextgen/issues/42
2020-10-07 09:59:23 -07:00
Komal
b531038d33
[codegen/schema] - Add deprecation messages for enum values (#5521) 2020-10-07 09:32:00 -07:00
Mikhail Shilkov
879066a60b
Execute self-contained .NET binary (#5519)
* Execute self-contained .NET binary
* Skip dotnet lookup for self-contained binaries
2020-10-07 11:46:24 +02:00