@pulumi/pulumiservice 0.1.5 → 0.1.6-alpha.1660185159

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -56,28 +56,16 @@ To use from .NET, install using `dotnet add package`:
56
56
 
57
57
  ## Setup
58
58
 
59
- To provision resources with the Pulumi Service provider, you need to have Pulumi Service credentials. Pulumi Service maintains documentation on how to create access tokens [here](https://www.pulumi.com/docs/intro/pulumi-service/accounts/#access-tokens).
60
-
61
- While you can use this provider to provision access tokens, you'll still need to have an access token available to generate an access token with the provider.
62
-
63
- ### Set environment variables
64
-
65
- Once you have an access token, its easy to set the environment variables. The Pulumi Service Provider uses the same environment variables as Pulumi does.
66
-
67
- ```bash
68
- $ export PULUMI_ACCESS_TOKEN=<PULUMI_ACCESS_TOKEN>
69
-
70
- $ export PULUMI_BACKEND_URL=<PULUMI_BACKEND_URL> # For self hosted customers. defaults to https://api.pulumi.com
71
- ```
59
+ Ensure that you have ran `pulumi login`. Run `pulumi whoami` to verify that you are logged in.
72
60
 
73
61
  ### Configuration Options
74
62
 
75
63
  Use `pulumi config set pulumiservice:<option>` or pass options to the [constructor of `new pulumiservice.Provider`](https://pulumi.com/registry/packages/pulumiservice/api-docs/provider).
76
64
 
77
- | Option | Required/Optional | Description |
78
- |-----|------|----|
79
- | `accessToken`| Required | [Pulumi Service Access Tokens](https://www.pulumi.com/docs/intro/pulumi-service/accounts/#access-tokens) |
80
- | `apiUrl`| Optional | Allows overriding default [Pulumi Service API URL](https://www.pulumi.com/docs/reference/service-rest-api) for [self hosted customers](https://www.pulumi.com/docs/guides/self-hosted/).
65
+ | Option | Environment Variable Name | Required/Optional | Description |
66
+ |-----|------|----|----|
67
+ | `accessToken`| `PULUMI_ACCESS_TOKEN` |Optional | Overrides [Pulumi Service Access Tokens](https://www.pulumi.com/docs/intro/pulumi-service/accounts/#access-tokens) |
68
+ | `apiUrl`| `PULUMI_BACKEND_URL` | Optional | Allows overriding default [Pulumi Service API URL](https://www.pulumi.com/docs/reference/service-rest-api) for [self hosted customers](https://www.pulumi.com/docs/guides/self-hosted/).
81
69
 
82
70
 
83
71
  ## Examples
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumiservice",
3
- "version": "v0.1.5",
3
+ "version": "v0.1.6-alpha.1660185159+7c168737",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "kind/native",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.1.5"
14
+ "install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.1.6-alpha.1660185159+7c168737"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@pulumi/pulumiservice",
3
+ "version": "v0.1.6-alpha.1660185159+7c168737",
4
+ "keywords": [
5
+ "pulumi",
6
+ "kind/native",
7
+ "category/infrastructure"
8
+ ],
9
+ "homepage": "https://pulumi.com",
10
+ "repository": "https://github.com/pulumi/pulumi-pulumiservice",
11
+ "license": "Apache-2.0",
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.1.6-alpha.1660185159+7c168737"
15
+ },
16
+ "dependencies": {
17
+ "@pulumi/pulumi": "^3.0.0"
18
+ },
19
+ "devDependencies": {
20
+ "typescript": "^4.3.5"
21
+ },
22
+ "pulumi": {
23
+ "resource": true
24
+ }
25
+ }
@@ -2,11 +2,6 @@
2
2
  var childProcess = require("child_process");
3
3
 
4
4
  var args = process.argv.slice(2);
5
-
6
- if (args.indexOf("${VERSION}") !== -1) {
7
- process.exit(0);
8
- }
9
-
10
5
  var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), {
11
6
  stdio: ["ignore", "inherit", "inherit"]
12
7
  });