@bambamboole/coolify 0.4.0 → 0.4.1

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/application.d.ts CHANGED
@@ -21,6 +21,9 @@ export declare class Application extends pulumi.CustomResource {
21
21
  readonly buildPack: pulumi.Output<string>;
22
22
  readonly description: pulumi.Output<string>;
23
23
  readonly environment: pulumi.Output<string>;
24
+ readonly environmentVariables: pulumi.Output<{
25
+ [key: string]: string;
26
+ }>;
24
27
  /**
25
28
  * The FQDN Coolify exposes the application at.
26
29
  */
@@ -60,6 +63,12 @@ export interface ApplicationArgs {
60
63
  dockerfileLocation?: pulumi.Input<string | undefined>;
61
64
  domains?: pulumi.Input<string | undefined>;
62
65
  environment: pulumi.Input<string>;
66
+ /**
67
+ * Environment variables applied to the application. Declared keys missing on the Coolify side are created as hidden values; existing keys are never patched and undeclared keys are left untouched.
68
+ */
69
+ environmentVariables?: pulumi.Input<{
70
+ [key: string]: pulumi.Input<string>;
71
+ } | undefined>;
63
72
  forceHttpsEnabled?: pulumi.Input<boolean | undefined>;
64
73
  gitBranch?: pulumi.Input<string | undefined>;
65
74
  gitCommitSha?: pulumi.Input<string | undefined>;
package/application.js CHANGED
@@ -86,6 +86,7 @@ class Application extends pulumi.CustomResource {
86
86
  resourceInputs["dockerfileLocation"] = args?.dockerfileLocation;
87
87
  resourceInputs["domains"] = args?.domains;
88
88
  resourceInputs["environment"] = args?.environment;
89
+ resourceInputs["environmentVariables"] = args?.environmentVariables;
89
90
  resourceInputs["forceHttpsEnabled"] = args?.forceHttpsEnabled;
90
91
  resourceInputs["gitBranch"] = args?.gitBranch;
91
92
  resourceInputs["gitCommitSha"] = args?.gitCommitSha;
@@ -119,6 +120,7 @@ class Application extends pulumi.CustomResource {
119
120
  resourceInputs["buildPack"] = undefined /*out*/;
120
121
  resourceInputs["description"] = undefined /*out*/;
121
122
  resourceInputs["environment"] = undefined /*out*/;
123
+ resourceInputs["environmentVariables"] = undefined /*out*/;
122
124
  resourceInputs["fqdn"] = undefined /*out*/;
123
125
  resourceInputs["gitBranch"] = undefined /*out*/;
124
126
  resourceInputs["gitRepository"] = undefined /*out*/;
package/application.ts CHANGED
@@ -38,6 +38,7 @@ export class Application extends pulumi.CustomResource {
38
38
  declare public readonly buildPack: pulumi.Output<string>;
39
39
  declare public readonly description: pulumi.Output<string>;
40
40
  declare public readonly environment: pulumi.Output<string>;
41
+ declare public readonly environmentVariables: pulumi.Output<{[key: string]: string}>;
41
42
  /**
42
43
  * The FQDN Coolify exposes the application at.
43
44
  */
@@ -85,6 +86,7 @@ export class Application extends pulumi.CustomResource {
85
86
  resourceInputs["dockerfileLocation"] = args?.dockerfileLocation;
86
87
  resourceInputs["domains"] = args?.domains;
87
88
  resourceInputs["environment"] = args?.environment;
89
+ resourceInputs["environmentVariables"] = args?.environmentVariables;
88
90
  resourceInputs["forceHttpsEnabled"] = args?.forceHttpsEnabled;
89
91
  resourceInputs["gitBranch"] = args?.gitBranch;
90
92
  resourceInputs["gitCommitSha"] = args?.gitCommitSha;
@@ -117,6 +119,7 @@ export class Application extends pulumi.CustomResource {
117
119
  resourceInputs["buildPack"] = undefined /*out*/;
118
120
  resourceInputs["description"] = undefined /*out*/;
119
121
  resourceInputs["environment"] = undefined /*out*/;
122
+ resourceInputs["environmentVariables"] = undefined /*out*/;
120
123
  resourceInputs["fqdn"] = undefined /*out*/;
121
124
  resourceInputs["gitBranch"] = undefined /*out*/;
122
125
  resourceInputs["gitRepository"] = undefined /*out*/;
@@ -147,6 +150,10 @@ export interface ApplicationArgs {
147
150
  dockerfileLocation?: pulumi.Input<string | undefined>;
148
151
  domains?: pulumi.Input<string | undefined>;
149
152
  environment: pulumi.Input<string>;
153
+ /**
154
+ * Environment variables applied to the application. Declared keys missing on the Coolify side are created as hidden values; existing keys are never patched and undeclared keys are left untouched.
155
+ */
156
+ environmentVariables?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
150
157
  forceHttpsEnabled?: pulumi.Input<boolean | undefined>;
151
158
  gitBranch?: pulumi.Input<string | undefined>;
152
159
  gitCommitSha?: pulumi.Input<string | undefined>;
@@ -0,0 +1,2 @@
1
+ export * from "./vars";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ // Export members:
20
+ __exportStar(require("./vars"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
@@ -0,0 +1,5 @@
1
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ // Export members:
5
+ export * from "./vars";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Coolify read/write API token (Coolify > Security > API tokens).
3
+ */
4
+ export declare const apiToken: string | undefined;
5
+ /**
6
+ * Base URL of the Coolify instance, without the API path (e.g. https://coolify.example.com).
7
+ */
8
+ export declare const baseUrl: string | undefined;
9
+ //# sourceMappingURL=vars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["vars.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAQlD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC"}
package/config/vars.js ADDED
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ const pulumi = __importStar(require("@pulumi/pulumi"));
29
+ const __config = new pulumi.Config("coolify");
30
+ Object.defineProperty(exports, "apiToken", {
31
+ get() {
32
+ return __config.get("apiToken");
33
+ },
34
+ enumerable: true,
35
+ });
36
+ Object.defineProperty(exports, "baseUrl", {
37
+ get() {
38
+ return __config.get("baseUrl");
39
+ },
40
+ enumerable: true,
41
+ });
42
+ //# sourceMappingURL=vars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAM9C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
package/config/vars.ts ADDED
@@ -0,0 +1,31 @@
1
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as utilities from "../utilities";
6
+
7
+ declare var exports: any;
8
+ const __config = new pulumi.Config("coolify");
9
+
10
+ /**
11
+ * Coolify read/write API token (Coolify > Security > API tokens).
12
+ */
13
+ export declare const apiToken: string | undefined;
14
+ Object.defineProperty(exports, "apiToken", {
15
+ get() {
16
+ return __config.get("apiToken");
17
+ },
18
+ enumerable: true,
19
+ });
20
+
21
+ /**
22
+ * Base URL of the Coolify instance, without the API path (e.g. https://coolify.example.com).
23
+ */
24
+ export declare const baseUrl: string | undefined;
25
+ Object.defineProperty(exports, "baseUrl", {
26
+ get() {
27
+ return __config.get("baseUrl");
28
+ },
29
+ enumerable: true,
30
+ });
31
+
package/database.d.ts CHANGED
@@ -33,7 +33,7 @@ export declare class Database extends pulumi.CustomResource {
33
33
  readonly postgresUser: pulumi.Output<string | undefined>;
34
34
  readonly project: pulumi.Output<string>;
35
35
  readonly projectUuid: pulumi.Output<string>;
36
- readonly publicPort: pulumi.Output<number>;
36
+ readonly publicPort: pulumi.Output<number | undefined>;
37
37
  readonly serverUuid: pulumi.Output<string>;
38
38
  readonly type: pulumi.Output<string>;
39
39
  readonly uuid: pulumi.Output<string>;
package/database.ts CHANGED
@@ -50,7 +50,7 @@ export class Database extends pulumi.CustomResource {
50
50
  declare public /*out*/ readonly postgresUser: pulumi.Output<string | undefined>;
51
51
  declare public readonly project: pulumi.Output<string>;
52
52
  declare public /*out*/ readonly projectUuid: pulumi.Output<string>;
53
- declare public readonly publicPort: pulumi.Output<number>;
53
+ declare public readonly publicPort: pulumi.Output<number | undefined>;
54
54
  declare public readonly serverUuid: pulumi.Output<string>;
55
55
  declare public readonly type: pulumi.Output<string>;
56
56
  declare public /*out*/ readonly uuid: pulumi.Output<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bambamboole/coolify",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "homepage": "https://coolify.io",
5
5
  "repository": "https://github.com/bambamboole/pulumi-provider-coolify",
6
6
  "license": "Apache-2.0",
@@ -18,7 +18,7 @@
18
18
  "pulumi": {
19
19
  "resource": true,
20
20
  "name": "coolify",
21
- "version": "0.1.0",
21
+ "version": "0.4.1",
22
22
  "server": "https://github.com/bambamboole/pulumi-provider-coolify/releases/download/v$%7BVERSION%7D"
23
23
  },
24
24
  "main": "index.js",
@@ -27,6 +27,7 @@
27
27
  "*.js",
28
28
  "*.d.ts",
29
29
  "*.ts",
30
+ "config",
30
31
  "README.md",
31
32
  "LICENSE"
32
33
  ],