-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated pulumi/pulumi upgrade (#1888)
* Regenerating Node.js SDK based on updated modules * Regenerating .NET SDK based on updated modules * Updated modules * Changelog Co-authored-by: Levi Blackstone <levi@pulumi.com>
- Loading branch information
1 parent
8f97b44
commit 2559491
Showing
8 changed files
with
44 additions
and
15 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
"use strict"; | ||
var childProcess = require("child_process"); | ||
|
||
var args = process.argv.slice(2); | ||
|
||
if (args.indexOf("${VERSION}") !== -1) { | ||
process.exit(0); | ||
} | ||
|
||
var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), { | ||
stdio: ["ignore", "inherit", "inherit"] | ||
}); | ||
|
||
if (res.error && res.error.code === "ENOENT") { | ||
console.error("\nThere was an error installing the resource provider plugin. " + | ||
"It looks like `pulumi` is not installed on your system. " + | ||
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" + | ||
"You may try manually installing the plugin by running " + | ||
"`pulumi plugin install " + args.join(" ") + "`"); | ||
} else if (res.error || res.status !== 0) { | ||
console.error("\nThere was an error installing the resource provider plugin. " + | ||
"You may try to manually installing the plugin by running " + | ||
"`pulumi plugin install " + args.join(" ") + "`"); | ||
} | ||
|
||
process.exit(0); |
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