@bambamboole/coolify 0.4.2 → 0.6.0
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 +1 -1
- package/application.d.ts +258 -16
- package/application.d.ts.map +1 -0
- package/application.js +37 -9
- package/application.js.map +1 -0
- package/config/index.d.ts.map +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +4 -4
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +3 -2
- package/config/vars.js.map +1 -1
- package/database.d.ts +95 -17
- package/database.d.ts.map +1 -0
- package/database.js +17 -15
- package/database.js.map +1 -0
- package/databaseBackup.d.ts +166 -0
- package/databaseBackup.d.ts.map +1 -0
- package/databaseBackup.js +117 -0
- package/databaseBackup.js.map +1 -0
- package/deployment.d.ts +32 -3
- package/deployment.d.ts.map +1 -0
- package/deployment.js +3 -1
- package/deployment.js.map +1 -0
- package/gitHubApp.d.ts +146 -0
- package/gitHubApp.d.ts.map +1 -0
- package/gitHubApp.js +127 -0
- package/gitHubApp.js.map +1 -0
- package/index.d.ts +15 -1
- package/index.d.ts.map +1 -0
- package/index.js +24 -1
- package/index.js.map +1 -0
- package/package.json +4 -17
- package/privateKey.d.ts +27 -4
- package/privateKey.d.ts.map +1 -0
- package/privateKey.js +6 -1
- package/privateKey.js.map +1 -0
- package/project.d.ts +13 -4
- package/project.d.ts.map +1 -0
- package/project.js +1 -1
- package/project.js.map +1 -0
- package/provider.d.ts +7 -7
- package/provider.d.ts.map +1 -0
- package/provider.js +2 -5
- package/provider.js.map +1 -0
- package/s3storage.d.ts +46 -5
- package/s3storage.d.ts.map +1 -0
- package/s3storage.js +5 -1
- package/s3storage.js.map +1 -0
- package/scheduledTask.d.ts +94 -0
- package/scheduledTask.d.ts.map +1 -0
- package/scheduledTask.js +105 -0
- package/scheduledTask.js.map +1 -0
- package/server.d.ts +39 -3
- package/server.d.ts.map +1 -0
- package/server.js +3 -3
- package/server.js.map +1 -0
- package/service.d.ts +130 -0
- package/service.d.ts.map +1 -0
- package/service.js +110 -0
- package/service.js.map +1 -0
- package/types/enums/index.d.ts +59 -0
- package/types/enums/index.d.ts.map +1 -0
- package/types/enums/index.js +62 -0
- package/types/enums/index.js.map +1 -0
- package/types/index.d.ts +5 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +36 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +2 -0
- package/types/input.d.ts.map +1 -0
- package/{config/index.ts → types/input.js} +3 -3
- package/types/input.js.map +1 -0
- package/types/output.d.ts +2 -0
- package/types/output.d.ts.map +1 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js.map +1 -0
- package/application.ts +0 -181
- package/config/vars.ts +0 -31
- package/database.ts +0 -146
- package/deployment.ts +0 -100
- package/index.ts +0 -88
- package/privateKey.ts +0 -85
- package/project.ts +0 -90
- package/provider.ts +0 -70
- package/s3storage.ts +0 -114
- package/server.ts +0 -99
- package/utilities.ts +0 -96
package/gitHubApp.d.ts
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A GitHub App source for deploying private repositories. An existing app with the same name is adopted on create. Create the app on GitHub first; Coolify only stores its credentials.
|
|
4
|
+
*/
|
|
5
|
+
export declare class GitHubApp extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing GitHubApp resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GitHubApp;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of GitHubApp. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is GitHubApp;
|
|
20
|
+
/**
|
|
21
|
+
* GitHub API URL. Derived from htmlUrl when unset.
|
|
22
|
+
*/
|
|
23
|
+
readonly apiUrl: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Numeric GitHub App ID.
|
|
26
|
+
*/
|
|
27
|
+
readonly appId: pulumi.Output<number>;
|
|
28
|
+
/**
|
|
29
|
+
* OAuth client ID of the app.
|
|
30
|
+
*/
|
|
31
|
+
readonly clientId: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* OAuth client secret of the app.
|
|
34
|
+
*/
|
|
35
|
+
readonly clientSecret: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* SSH port for git operations.
|
|
38
|
+
*/
|
|
39
|
+
readonly customPort: pulumi.Output<number>;
|
|
40
|
+
/**
|
|
41
|
+
* SSH user for git operations.
|
|
42
|
+
*/
|
|
43
|
+
readonly customUser: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* GitHub web URL.
|
|
46
|
+
*/
|
|
47
|
+
readonly htmlUrl: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Installation ID of the app in the organization or account.
|
|
50
|
+
*/
|
|
51
|
+
readonly installationId: pulumi.Output<number>;
|
|
52
|
+
/**
|
|
53
|
+
* Numeric ID Coolify uses for the app in API paths.
|
|
54
|
+
*/
|
|
55
|
+
readonly internalId: pulumi.Output<number>;
|
|
56
|
+
/**
|
|
57
|
+
* Make the app available to all teams (self-hosted only).
|
|
58
|
+
*/
|
|
59
|
+
readonly isSystemWide: pulumi.Output<boolean | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Name of the GitHub App in Coolify. An existing app with this name is adopted.
|
|
62
|
+
*/
|
|
63
|
+
readonly name: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* GitHub organization the app is installed in. Leave unset for a personal account.
|
|
66
|
+
*/
|
|
67
|
+
readonly organization: pulumi.Output<string | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* UUID of the Coolify private key holding the app's private key (the uuid output of a PrivateKey resource).
|
|
70
|
+
*/
|
|
71
|
+
readonly privateKeyUuid: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* UUID of the GitHub App in Coolify.
|
|
74
|
+
*/
|
|
75
|
+
readonly uuid: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Webhook secret of the app.
|
|
78
|
+
*/
|
|
79
|
+
readonly webhookSecret: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a GitHubApp resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: GitHubAppArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a GitHubApp resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface GitHubAppArgs {
|
|
93
|
+
/**
|
|
94
|
+
* GitHub API URL. Derived from htmlUrl when unset.
|
|
95
|
+
*/
|
|
96
|
+
apiUrl?: pulumi.Input<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Numeric GitHub App ID.
|
|
99
|
+
*/
|
|
100
|
+
appId: pulumi.Input<number>;
|
|
101
|
+
/**
|
|
102
|
+
* OAuth client ID of the app.
|
|
103
|
+
*/
|
|
104
|
+
clientId: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* OAuth client secret of the app.
|
|
107
|
+
*/
|
|
108
|
+
clientSecret: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* SSH port for git operations.
|
|
111
|
+
*/
|
|
112
|
+
customPort?: pulumi.Input<number | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* SSH user for git operations.
|
|
115
|
+
*/
|
|
116
|
+
customUser?: pulumi.Input<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* GitHub web URL.
|
|
119
|
+
*/
|
|
120
|
+
htmlUrl?: pulumi.Input<string | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Installation ID of the app in the organization or account.
|
|
123
|
+
*/
|
|
124
|
+
installationId: pulumi.Input<number>;
|
|
125
|
+
/**
|
|
126
|
+
* Make the app available to all teams (self-hosted only).
|
|
127
|
+
*/
|
|
128
|
+
isSystemWide?: pulumi.Input<boolean | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* Name of the GitHub App in Coolify. An existing app with this name is adopted.
|
|
131
|
+
*/
|
|
132
|
+
name: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* GitHub organization the app is installed in. Leave unset for a personal account.
|
|
135
|
+
*/
|
|
136
|
+
organization?: pulumi.Input<string | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* UUID of the Coolify private key holding the app's private key (the uuid output of a PrivateKey resource).
|
|
139
|
+
*/
|
|
140
|
+
privateKeyUuid: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Webhook secret of the app.
|
|
143
|
+
*/
|
|
144
|
+
webhookSecret?: pulumi.Input<string | undefined>;
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=gitHubApp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitHubApp.d.ts","sourceRoot":"","sources":["../gitHubApp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,K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,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD"}
|
package/gitHubApp.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
exports.GitHubApp = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* A GitHub App source for deploying private repositories. An existing app with the same name is adopted on create. Create the app on GitHub first; Coolify only stores its credentials.
|
|
33
|
+
*/
|
|
34
|
+
class GitHubApp extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing GitHubApp resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new GitHubApp(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'coolify:index:GitHubApp';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of GitHubApp. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === GitHubApp.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a GitHubApp resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.appId === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'appId'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.clientId === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'clientId'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.clientSecret === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'clientSecret'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.installationId === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'installationId'");
|
|
80
|
+
}
|
|
81
|
+
if (args?.name === undefined && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'name'");
|
|
83
|
+
}
|
|
84
|
+
if (args?.privateKeyUuid === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'privateKeyUuid'");
|
|
86
|
+
}
|
|
87
|
+
resourceInputs["apiUrl"] = args?.apiUrl;
|
|
88
|
+
resourceInputs["appId"] = args?.appId;
|
|
89
|
+
resourceInputs["clientId"] = args?.clientId;
|
|
90
|
+
resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined;
|
|
91
|
+
resourceInputs["customPort"] = (args?.customPort) ?? 22;
|
|
92
|
+
resourceInputs["customUser"] = (args?.customUser) ?? "git";
|
|
93
|
+
resourceInputs["htmlUrl"] = (args?.htmlUrl) ?? "https://github.com";
|
|
94
|
+
resourceInputs["installationId"] = args?.installationId;
|
|
95
|
+
resourceInputs["isSystemWide"] = args?.isSystemWide;
|
|
96
|
+
resourceInputs["name"] = args?.name;
|
|
97
|
+
resourceInputs["organization"] = args?.organization;
|
|
98
|
+
resourceInputs["privateKeyUuid"] = args?.privateKeyUuid;
|
|
99
|
+
resourceInputs["webhookSecret"] = args?.webhookSecret ? pulumi.secret(args.webhookSecret) : undefined;
|
|
100
|
+
resourceInputs["internalId"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["uuid"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
resourceInputs["apiUrl"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["appId"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["clientId"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["clientSecret"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["customPort"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["customUser"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["htmlUrl"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["installationId"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["internalId"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["isSystemWide"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["organization"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["privateKeyUuid"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["uuid"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["webhookSecret"] = undefined /*out*/;
|
|
119
|
+
}
|
|
120
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
|
+
const secretOpts = { additionalSecretOutputs: ["clientSecret", "webhookSecret"] };
|
|
122
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
123
|
+
super(GitHubApp.__pulumiType, name, resourceInputs, opts);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.GitHubApp = GitHubApp;
|
|
127
|
+
//# sourceMappingURL=gitHubApp.js.map
|
package/gitHubApp.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitHubApp.js","sourceRoot":"","sources":["../gitHubApp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAm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I,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAzJL,8BA0JC"}
|
package/index.d.ts
CHANGED
|
@@ -4,9 +4,15 @@ export declare const Application: typeof import("./application").Application;
|
|
|
4
4
|
export { DatabaseArgs } from "./database";
|
|
5
5
|
export type Database = import("./database").Database;
|
|
6
6
|
export declare const Database: typeof import("./database").Database;
|
|
7
|
+
export { DatabaseBackupArgs } from "./databaseBackup";
|
|
8
|
+
export type DatabaseBackup = import("./databaseBackup").DatabaseBackup;
|
|
9
|
+
export declare const DatabaseBackup: typeof import("./databaseBackup").DatabaseBackup;
|
|
7
10
|
export { DeploymentArgs } from "./deployment";
|
|
8
11
|
export type Deployment = import("./deployment").Deployment;
|
|
9
12
|
export declare const Deployment: typeof import("./deployment").Deployment;
|
|
13
|
+
export { GitHubAppArgs } from "./gitHubApp";
|
|
14
|
+
export type GitHubApp = import("./gitHubApp").GitHubApp;
|
|
15
|
+
export declare const GitHubApp: typeof import("./gitHubApp").GitHubApp;
|
|
10
16
|
export { PrivateKeyArgs } from "./privateKey";
|
|
11
17
|
export type PrivateKey = import("./privateKey").PrivateKey;
|
|
12
18
|
export declare const PrivateKey: typeof import("./privateKey").PrivateKey;
|
|
@@ -19,9 +25,17 @@ export declare const Provider: typeof import("./provider").Provider;
|
|
|
19
25
|
export { S3StorageArgs } from "./s3storage";
|
|
20
26
|
export type S3Storage = import("./s3storage").S3Storage;
|
|
21
27
|
export declare const S3Storage: typeof import("./s3storage").S3Storage;
|
|
28
|
+
export { ScheduledTaskArgs } from "./scheduledTask";
|
|
29
|
+
export type ScheduledTask = import("./scheduledTask").ScheduledTask;
|
|
30
|
+
export declare const ScheduledTask: typeof import("./scheduledTask").ScheduledTask;
|
|
22
31
|
export { ServerArgs } from "./server";
|
|
23
32
|
export type Server = import("./server").Server;
|
|
24
33
|
export declare const Server: typeof import("./server").Server;
|
|
34
|
+
export { ServiceArgs } from "./service";
|
|
35
|
+
export type Service = import("./service").Service;
|
|
36
|
+
export declare const Service: typeof import("./service").Service;
|
|
37
|
+
export * from "./types/enums";
|
|
25
38
|
import * as config from "./config";
|
|
26
|
-
|
|
39
|
+
import * as types from "./types";
|
|
40
|
+
export { config, types, };
|
|
27
41
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,EAAE,WAAW,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAE,cAAc,eAAe,EAAE,WAAyB,CAAC;AAGnF,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,MAAM,MAAM,QAAQ,GAAG,OAAO,YAAY,EAAE,QAAQ,CAAC;AACrD,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAG1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,MAAM,MAAM,cAAc,GAAG,OAAO,kBAAkB,EAAE,cAAc,CAAC;AACvE,eAAO,MAAM,cAAc,EAAE,cAAc,kBAAkB,EAAE,cAA4B,CAAC;AAG5F,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,MAAM,MAAM,UAAU,GAAG,OAAO,cAAc,EAAE,UAAU,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAGhF,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,EAAE,SAAS,CAAC;AACxD,eAAO,MAAM,SAAS,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,EAAE,OAAqB,CAAC;AAKvE,cAAc,eAAe,CAAC;AAG9B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACH,MAAM,EACN,KAAK,GACR,CAAC"}
|
package/index.js
CHANGED
|
@@ -24,16 +24,23 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
__setModuleDefault(result, mod);
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
28
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
29
|
+
};
|
|
27
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.config = exports.Server = exports.S3Storage = exports.Provider = exports.Project = exports.PrivateKey = exports.Deployment = exports.Database = exports.Application = void 0;
|
|
31
|
+
exports.types = exports.config = exports.Service = exports.Server = exports.ScheduledTask = exports.S3Storage = exports.Provider = exports.Project = exports.PrivateKey = exports.GitHubApp = exports.Deployment = exports.DatabaseBackup = exports.Database = exports.Application = void 0;
|
|
29
32
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
33
|
const utilities = __importStar(require("./utilities"));
|
|
31
34
|
exports.Application = null;
|
|
32
35
|
utilities.lazyLoad(exports, ["Application"], () => require("./application"));
|
|
33
36
|
exports.Database = null;
|
|
34
37
|
utilities.lazyLoad(exports, ["Database"], () => require("./database"));
|
|
38
|
+
exports.DatabaseBackup = null;
|
|
39
|
+
utilities.lazyLoad(exports, ["DatabaseBackup"], () => require("./databaseBackup"));
|
|
35
40
|
exports.Deployment = null;
|
|
36
41
|
utilities.lazyLoad(exports, ["Deployment"], () => require("./deployment"));
|
|
42
|
+
exports.GitHubApp = null;
|
|
43
|
+
utilities.lazyLoad(exports, ["GitHubApp"], () => require("./gitHubApp"));
|
|
37
44
|
exports.PrivateKey = null;
|
|
38
45
|
utilities.lazyLoad(exports, ["PrivateKey"], () => require("./privateKey"));
|
|
39
46
|
exports.Project = null;
|
|
@@ -42,11 +49,19 @@ exports.Provider = null;
|
|
|
42
49
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
43
50
|
exports.S3Storage = null;
|
|
44
51
|
utilities.lazyLoad(exports, ["S3Storage"], () => require("./s3storage"));
|
|
52
|
+
exports.ScheduledTask = null;
|
|
53
|
+
utilities.lazyLoad(exports, ["ScheduledTask"], () => require("./scheduledTask"));
|
|
45
54
|
exports.Server = null;
|
|
46
55
|
utilities.lazyLoad(exports, ["Server"], () => require("./server"));
|
|
56
|
+
exports.Service = null;
|
|
57
|
+
utilities.lazyLoad(exports, ["Service"], () => require("./service"));
|
|
58
|
+
// Export enums:
|
|
59
|
+
__exportStar(require("./types/enums"), exports);
|
|
47
60
|
// Export sub-modules:
|
|
48
61
|
const config = __importStar(require("./config"));
|
|
49
62
|
exports.config = config;
|
|
63
|
+
const types = __importStar(require("./types"));
|
|
64
|
+
exports.types = types;
|
|
50
65
|
const _module = {
|
|
51
66
|
version: utilities.getVersion(),
|
|
52
67
|
construct: (name, type, urn) => {
|
|
@@ -55,16 +70,24 @@ const _module = {
|
|
|
55
70
|
return new exports.Application(name, undefined, { urn });
|
|
56
71
|
case "coolify:index:Database":
|
|
57
72
|
return new exports.Database(name, undefined, { urn });
|
|
73
|
+
case "coolify:index:DatabaseBackup":
|
|
74
|
+
return new exports.DatabaseBackup(name, undefined, { urn });
|
|
58
75
|
case "coolify:index:Deployment":
|
|
59
76
|
return new exports.Deployment(name, undefined, { urn });
|
|
77
|
+
case "coolify:index:GitHubApp":
|
|
78
|
+
return new exports.GitHubApp(name, undefined, { urn });
|
|
60
79
|
case "coolify:index:PrivateKey":
|
|
61
80
|
return new exports.PrivateKey(name, undefined, { urn });
|
|
62
81
|
case "coolify:index:Project":
|
|
63
82
|
return new exports.Project(name, undefined, { urn });
|
|
64
83
|
case "coolify:index:S3Storage":
|
|
65
84
|
return new exports.S3Storage(name, undefined, { urn });
|
|
85
|
+
case "coolify:index:ScheduledTask":
|
|
86
|
+
return new exports.ScheduledTask(name, undefined, { urn });
|
|
66
87
|
case "coolify:index:Server":
|
|
67
88
|
return new exports.Server(name, undefined, { urn });
|
|
89
|
+
case "coolify:index:Service":
|
|
90
|
+
return new exports.Service(name, undefined, { urn });
|
|
68
91
|
default:
|
|
69
92
|
throw new Error(`unknown resource type ${type}`);
|
|
70
93
|
}
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAK5B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIhE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAItE,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,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ACvB,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,uBAAuB;gBACxB,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAClE,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,36 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bambamboole/coolify",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"homepage": "https://coolify.io",
|
|
5
5
|
"repository": "https://github.com/bambamboole/pulumi-provider-coolify",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "tsc"
|
|
9
|
-
"prepare": "tsc"
|
|
8
|
+
"build": "tsc"
|
|
10
9
|
},
|
|
11
10
|
"dependencies": {
|
|
12
11
|
"@pulumi/pulumi": "^3.142.0"
|
|
13
12
|
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@types/node": "^20",
|
|
16
|
-
"typescript": "^4.7.0"
|
|
17
|
-
},
|
|
18
13
|
"pulumi": {
|
|
19
14
|
"resource": true,
|
|
20
15
|
"name": "coolify",
|
|
21
|
-
"version": "0.
|
|
16
|
+
"version": "0.6.0",
|
|
22
17
|
"server": "https://github.com/bambamboole/pulumi-provider-coolify/releases/download/v$%7BVERSION%7D"
|
|
23
18
|
},
|
|
24
19
|
"main": "index.js",
|
|
25
|
-
"
|
|
26
|
-
"files": [
|
|
27
|
-
"*.js",
|
|
28
|
-
"*.d.ts",
|
|
29
|
-
"*.ts",
|
|
30
|
-
"config",
|
|
31
|
-
"README.md",
|
|
32
|
-
"LICENSE"
|
|
33
|
-
],
|
|
20
|
+
"types": "index.d.ts",
|
|
34
21
|
"publishConfig": {
|
|
35
22
|
"access": "public"
|
|
36
23
|
}
|
package/privateKey.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* A Coolify SSH private key.
|
|
3
|
+
* A Coolify SSH private key. An existing key with the same name is adopted on create. Coolify's API cannot update keys, so changing the name or key material replaces the key.
|
|
4
4
|
*/
|
|
5
5
|
export declare class PrivateKey extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -17,12 +17,29 @@ export declare class PrivateKey extends pulumi.CustomResource {
|
|
|
17
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is PrivateKey;
|
|
20
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Description of the private key. Applied on create only, because Coolify's API cannot update keys.
|
|
22
|
+
*/
|
|
23
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Fingerprint of the key.
|
|
26
|
+
*/
|
|
27
|
+
readonly fingerprint: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Name of the private key. An existing key with this name is adopted. Changing it replaces the key.
|
|
30
|
+
*/
|
|
21
31
|
readonly name: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* PEM encoded private key material. Required to create a key that does not exist yet; adopted keys can be managed without it. Changing it replaces the key.
|
|
34
|
+
*/
|
|
35
|
+
readonly privateKey: pulumi.Output<string | undefined>;
|
|
22
36
|
/**
|
|
23
37
|
* Public key derived from the private key.
|
|
24
38
|
*/
|
|
25
|
-
readonly publicKey: pulumi.Output<string
|
|
39
|
+
readonly publicKey: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* UUID of the private key in Coolify.
|
|
42
|
+
*/
|
|
26
43
|
readonly uuid: pulumi.Output<string>;
|
|
27
44
|
/**
|
|
28
45
|
* Create a PrivateKey resource with the given unique name, arguments, and options.
|
|
@@ -37,10 +54,16 @@ export declare class PrivateKey extends pulumi.CustomResource {
|
|
|
37
54
|
* The set of arguments for constructing a PrivateKey resource.
|
|
38
55
|
*/
|
|
39
56
|
export interface PrivateKeyArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Description of the private key. Applied on create only, because Coolify's API cannot update keys.
|
|
59
|
+
*/
|
|
40
60
|
description?: pulumi.Input<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Name of the private key. An existing key with this name is adopted. Changing it replaces the key.
|
|
63
|
+
*/
|
|
41
64
|
name: pulumi.Input<string>;
|
|
42
65
|
/**
|
|
43
|
-
* PEM private key material. Required to create a
|
|
66
|
+
* PEM encoded private key material. Required to create a key that does not exist yet; adopted keys can be managed without it. Changing it replaces the key.
|
|
44
67
|
*/
|
|
45
68
|
privateKey?: pulumi.Input<string | undefined>;
|
|
46
69
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateKey.d.ts","sourceRoot":"","sources":["../privateKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD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
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* A Coolify SSH private key.
|
|
32
|
+
* A Coolify SSH private key. An existing key with the same name is adopted on create. Coolify's API cannot update keys, so changing the name or key material replaces the key.
|
|
33
33
|
*/
|
|
34
34
|
class PrivateKey extends pulumi.CustomResource {
|
|
35
35
|
/**
|
|
@@ -72,16 +72,21 @@ class PrivateKey extends pulumi.CustomResource {
|
|
|
72
72
|
resourceInputs["description"] = args?.description;
|
|
73
73
|
resourceInputs["name"] = args?.name;
|
|
74
74
|
resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined;
|
|
75
|
+
resourceInputs["fingerprint"] = undefined /*out*/;
|
|
75
76
|
resourceInputs["publicKey"] = undefined /*out*/;
|
|
76
77
|
resourceInputs["uuid"] = undefined /*out*/;
|
|
77
78
|
}
|
|
78
79
|
else {
|
|
79
80
|
resourceInputs["description"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["fingerprint"] = undefined /*out*/;
|
|
80
82
|
resourceInputs["name"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["privateKey"] = undefined /*out*/;
|
|
81
84
|
resourceInputs["publicKey"] = undefined /*out*/;
|
|
82
85
|
resourceInputs["uuid"] = undefined /*out*/;
|
|
83
86
|
}
|
|
84
87
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
const secretOpts = { additionalSecretOutputs: ["privateKey"] };
|
|
89
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
85
90
|
super(PrivateKey.__pulumiType, name, resourceInputs, opts);
|
|
86
91
|
}
|
|
87
92
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateKey.js","sourceRoot":"","sources":["../privateKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AA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c,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;aAAM;YACH,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AApFL,gCAqFC"}
|
package/project.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* A Coolify project with its environments.
|
|
3
|
+
* A Coolify project with its environments. An existing project with the same name is adopted on create.
|
|
4
4
|
*/
|
|
5
5
|
export declare class Project extends pulumi.CustomResource {
|
|
6
6
|
/**
|
|
@@ -17,8 +17,17 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
17
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is Project;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Description of the project.
|
|
22
|
+
*/
|
|
23
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Environments that must exist in the project. Only added; never removed.
|
|
26
|
+
*/
|
|
27
|
+
readonly environments: pulumi.Output<string[] | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Name of the project. An existing project with this name is adopted.
|
|
30
|
+
*/
|
|
22
31
|
readonly name: pulumi.Output<string>;
|
|
23
32
|
/**
|
|
24
33
|
* UUID of the project in Coolify.
|
|
@@ -46,7 +55,7 @@ export interface ProjectArgs {
|
|
|
46
55
|
*/
|
|
47
56
|
environments?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
48
57
|
/**
|
|
49
|
-
* Name of the project.
|
|
58
|
+
* Name of the project. An existing project with this name is adopted.
|
|
50
59
|
*/
|
|
51
60
|
name: pulumi.Input<string>;
|
|
52
61
|
}
|
package/project.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,OAAO;IAO1G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO;IAOlD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAgC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE5D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAoBnF;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAChE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/project.js
CHANGED
|
@@ -29,7 +29,7 @@ exports.Project = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* A Coolify project with its environments.
|
|
32
|
+
* A Coolify project with its environments. An existing project with the same name is adopted on create.
|
|
33
33
|
*/
|
|
34
34
|
class Project extends pulumi.CustomResource {
|
|
35
35
|
/**
|
package/project.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CA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