Pat Gavlin
b516c8944f
Respect disableProviderPreview
in providers. ( #5612 )
2020-10-22 21:25:05 +01:00
Komal
ec9c02f578
Add tests for ts enums ( #5605 )
2020-10-22 10:53:29 -07:00
Komal
6949101428
Replace equal and deepEqual with strictEqual and deepStrictEqual ( #5607 )
2020-10-21 10:21:47 -07:00
Pat Gavlin
89c71bb49e
[cli] Add an import command. ( #4765 )
...
Co-authored-by: stack72 <public@paulstack.co.uk>
2020-10-14 12:51:53 +01:00
Mikhail Shilkov
29850869ef
Pass the preview flag to Update ( #5562 )
2020-10-13 21:02:19 +02:00
Mikhail Shilkov
4f07891595
[dotnet] Add a lock around child resource manipulation ( #5563 )
...
[dotnet] Add a lock around child resource manipulation to prevent hashset concurrency issue
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2020-10-13 19:28:57 +02:00
Justin Van Patten
ceec3eac0f
[sdk/python] Fix ResourceOptions annotations and doc strings ( #5559 )
2020-10-13 05:18:15 -07:00
Paul Stack
186e2f059e
Respect logging verbosity as part of pulumi plugin install ( #5549 )
...
Fixes : #4427
By default, there is no indepth logging:
```
pulumi plugin install resource azure-nextgen v0.2.1
[resource plugin azure-nextgen-0.2.1] installing
Downloading plugin: 17.82 MiB / 17.82 MiB [=========================] 100.00% 2s
Moving plugin... done.
```
We can increase the logging verosity get more detailed logging:
```
pulumi plugin install resource azure-nextgen v0.2.1 -v=1 --logtostderr
[resource plugin azure-nextgen-0.2.1] installing
I1010 19:30:58.472772 7128 plugins.go:201] azure-nextgen downloading from https://get.pulumi.com/releases/plugins
Downloading plugin: 0 B / 17.82 MiB [----------------------------------] 0.00%I1010 19:30:58.704168 7128 plugin_install.go:136] [resource plugin azure-nextgen-0.2.1] installing tarball ...
Downloading plugin: 17.82 MiB / 17.82 MiB [=========================] 100.00% 3s
Moving plugin...I1010 19:31:01.874427 7128 plugins.go:304] moving plugin from "/Users/myuser/.pulumi/plugins/resource-azure-nextgen-v0.2.1.tmp884796935" to "/Users/myuser/.pulumi/plugins/resource-azure-nextgen-v0.2.1"
done.
```
The most verbose logging level will log the request and response headers
```
pulumi plugin install resource azure-nextgen v0.2.1 -v=9 --logtostderr
I1010 19:29:46.989150 7089 sink.go:146] defaultSink::Infoerr([resource plugin azure-nextgen-0.2.1] installing)
[resource plugin azure-nextgen-0.2.1] installing
I1010 19:29:46.989295 7089 plugins.go:591] SelectCompatiblePlugin(..., azure-nextgen): beginning
I1010 19:29:46.989300 7089 plugins.go:630] SelectCompatiblePlugin(..., azure-nextgen): failed to find match
I1010 19:29:46.989323 7089 plugins.go:201] azure-nextgen downloading from https://get.pulumi.com/releases/plugins
I1010 19:29:46.989333 7089 plugins.go:208] full plugin download url: https://get.pulumi.com/releases/plugins/pulumi-resource-azure-nextgen-v0.2.1-darwin-amd64.tar.gz
I1010 19:29:46.989360 7089 plugins.go:218] plugin install request headers: map[User-Agent:[pulumi-cli/1 (; darwin)]]
I1010 19:29:47.242941 7089 plugins.go:225] plugin install response headers: map[Accept-Ranges:[bytes] Age:[370098] Content-Disposition:[attachment; filename=pulumi-resource-azure-nextgen-v0.2.1-darwin-amd64.tar.gz] Content-Length:[18684382] Content-Type:[application/x-gzip] Date:[Tue, 06 Oct 2020 11:41:30 GMT] Etag:["518f2e7efd46fe5b7be9508dc785b9c9-4"] Last-Modified:[Sat, 03 Oct 2020 20:57:45 GMT] Server:[AmazonS3] Via:[1.1 198b7d1bb217783eef010e6636984c9f.cloudfront.net (CloudFront)] X-Amz-Cf-Id:[aaC3Q0WcecspsFbWROLxXnD6iF7sYoAfShQKYiS2xkFKAWlFRBu-1Q==] X-Amz-Cf-Pop:[MAN50-C2] X-Cache:[Hit from cloudfront]]
Downloading plugin: 0 B / 17.82 MiB [----------------------------------] 0.00%I1010 19:29:47.243189 7089 plugin_install.go:136] [resource plugin azure-nextgen-0.2.1] installing tarball ...
Downloading plugin: 17.82 MiB / 17.82 MiB [=========================] 100.00% 2s
Moving plugin...I1010 19:29:50.031099 7089 plugins.go:304] moving plugin from "/Users/myuser/.pulumi/plugins/resource-azure-nextgen-v0.2.1.tmp960784076" to "/Users/myuser/.pulumi/plugins/resource-azure-nextgen-v0.2.1"
done.
```
2020-10-13 13:09:29 +01:00
Paul Stack
156aa9862e
Add the ability to specify privateKey contents to AutomationAPI ( #5557 )
...
Fixes : #5383
2020-10-12 19:51:26 +01:00
Paul Stack
64577f5b10
Protect against panic in finding go executable and finding resources ( #5548 )
...
Fixes : #5131
Fixes : #5016
2020-10-11 07:13:54 +01:00
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
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
Lee Briggs
442d367b0b
fix perms on exec binary ( #5524 )
2020-10-08 13:32:53 -07:00
evanboyle
42f301ac0f
bump node test timeout
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
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
Justin Van Patten
df75f0ed95
Support remote components in .NET ( #5485 )
2020-10-06 10:19:22 -07:00