@pierskarsenbarg/sdm 0.0.6

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.
Files changed (95) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +56 -0
  3. package/account.d.ts +73 -0
  4. package/account.js +60 -0
  5. package/account.js.map +1 -0
  6. package/accountAttachment.d.ts +69 -0
  7. package/accountAttachment.js +66 -0
  8. package/accountAttachment.js.map +1 -0
  9. package/accountGrant.d.ts +69 -0
  10. package/accountGrant.js +66 -0
  11. package/accountGrant.js.map +1 -0
  12. package/config/index.d.ts +1 -0
  13. package/config/index.js +21 -0
  14. package/config/index.js.map +1 -0
  15. package/config/vars.d.ts +16 -0
  16. package/config/vars.js +31 -0
  17. package/config/vars.js.map +1 -0
  18. package/getAccount.d.ts +147 -0
  19. package/getAccount.js +50 -0
  20. package/getAccount.js.map +1 -0
  21. package/getAccountAttachment.d.ts +76 -0
  22. package/getAccountAttachment.js +38 -0
  23. package/getAccountAttachment.js.map +1 -0
  24. package/getAccountGrant.d.ts +77 -0
  25. package/getAccountGrant.js +39 -0
  26. package/getAccountGrant.js.map +1 -0
  27. package/getNode.d.ts +123 -0
  28. package/getNode.js +48 -0
  29. package/getNode.js.map +1 -0
  30. package/getRemoteIdentity.d.ts +90 -0
  31. package/getRemoteIdentity.js +41 -0
  32. package/getRemoteIdentity.js.map +1 -0
  33. package/getRemoteIdentityGroup.d.ts +64 -0
  34. package/getRemoteIdentityGroup.js +37 -0
  35. package/getRemoteIdentityGroup.js.map +1 -0
  36. package/getResource.d.ts +107 -0
  37. package/getResource.js +48 -0
  38. package/getResource.js.map +1 -0
  39. package/getRole.d.ts +106 -0
  40. package/getRole.js +45 -0
  41. package/getRole.js.map +1 -0
  42. package/getRoleAttachment.d.ts +79 -0
  43. package/getRoleAttachment.js +41 -0
  44. package/getRoleAttachment.js.map +1 -0
  45. package/getRoleGrant.d.ts +79 -0
  46. package/getRoleGrant.js +41 -0
  47. package/getRoleGrant.js.map +1 -0
  48. package/getSecretStore.d.ts +83 -0
  49. package/getSecretStore.js +30 -0
  50. package/getSecretStore.js.map +1 -0
  51. package/getSshCaPubkey.d.ts +53 -0
  52. package/getSshCaPubkey.js +35 -0
  53. package/getSshCaPubkey.js.map +1 -0
  54. package/index.d.ts +26 -0
  55. package/index.js +111 -0
  56. package/index.js.map +1 -0
  57. package/install-pulumi-plugin.js +26 -0
  58. package/node.d.ts +70 -0
  59. package/node.js +60 -0
  60. package/node.js.map +1 -0
  61. package/package.json +29 -0
  62. package/package.json.bak +29 -0
  63. package/provider.d.ts +55 -0
  64. package/provider.js +48 -0
  65. package/provider.js.map +1 -0
  66. package/remoteIdentity.d.ts +81 -0
  67. package/remoteIdentity.js +71 -0
  68. package/remoteIdentity.js.map +1 -0
  69. package/resource.d.ts +259 -0
  70. package/resource.js +198 -0
  71. package/resource.js.map +1 -0
  72. package/role.d.ts +105 -0
  73. package/role.js +64 -0
  74. package/role.js.map +1 -0
  75. package/roleAttachment.d.ts +69 -0
  76. package/roleAttachment.js +66 -0
  77. package/roleAttachment.js.map +1 -0
  78. package/roleGrant.d.ts +69 -0
  79. package/roleGrant.js +66 -0
  80. package/roleGrant.js.map +1 -0
  81. package/secretStore.d.ts +64 -0
  82. package/secretStore.js +68 -0
  83. package/secretStore.js.map +1 -0
  84. package/types/index.d.ts +3 -0
  85. package/types/index.js +11 -0
  86. package/types/index.js.map +1 -0
  87. package/types/input.d.ts +2690 -0
  88. package/types/input.js +5 -0
  89. package/types/input.js.map +1 -0
  90. package/types/output.d.ts +5596 -0
  91. package/types/output.js +5 -0
  92. package/types/output.js.map +1 -0
  93. package/utilities.d.ts +4 -0
  94. package/utilities.js +57 -0
  95. package/utilities.js.map +1 -0
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
package/utilities.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare function getEnv(...vars: string[]): string | undefined;
2
+ export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
3
+ export declare function getEnvNumber(...vars: string[]): number | undefined;
4
+ export declare function getVersion(): string;
package/utilities.js ADDED
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
6
+ function getEnv(...vars) {
7
+ for (const v of vars) {
8
+ const value = process.env[v];
9
+ if (value) {
10
+ return value;
11
+ }
12
+ }
13
+ return undefined;
14
+ }
15
+ exports.getEnv = getEnv;
16
+ function getEnvBoolean(...vars) {
17
+ const s = getEnv(...vars);
18
+ if (s !== undefined) {
19
+ // NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
20
+ // Terraform uses internally when parsing boolean values.
21
+ if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
22
+ return true;
23
+ }
24
+ if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
25
+ return false;
26
+ }
27
+ }
28
+ return undefined;
29
+ }
30
+ exports.getEnvBoolean = getEnvBoolean;
31
+ function getEnvNumber(...vars) {
32
+ const s = getEnv(...vars);
33
+ if (s !== undefined) {
34
+ const f = parseFloat(s);
35
+ if (!isNaN(f)) {
36
+ return f;
37
+ }
38
+ }
39
+ return undefined;
40
+ }
41
+ exports.getEnvNumber = getEnvNumber;
42
+ function getVersion() {
43
+ let version = require('./package.json').version;
44
+ // Node allows for the version to be prefixed by a "v", while semver doesn't.
45
+ // If there is a v, strip it off.
46
+ if (version.indexOf('v') === 0) {
47
+ version = version.slice(1);
48
+ }
49
+ return version;
50
+ }
51
+ exports.getVersion = getVersion;
52
+ /** @internal */
53
+ function resourceOptsDefaults() {
54
+ return { version: getVersion(), pluginDownloadURL: "https://github.com/pierskarsenbarg/pulumi-sdm/releases/download/${VERSION}" };
55
+ }
56
+ exports.resourceOptsDefaults = resourceOptsDefaults;
57
+ //# sourceMappingURL=utilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KA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