Bridge what Dokploy v0.30 added, and let the docs through
Six new resources from terraform-provider-dokploy v0.2.0 -- Network, DnsProvider, VaultProvider, Schedule, VolumeBackup and Libsql -- plus the new properties on Domain (`enabled`), Compose (`serviceNetworks`, `createEnvFile`, `icon`) and Application. Verified with `pulumi up` against a live v0.30.2 instance: create, preview-clean, and destroy. The upstream provider also now refuses a volume Mount with no `volumeName`, which Dokploy would otherwise turn into an anonymous Docker volume recreated on every deploy. That surfaces here at preview time, before anything exists. Two things made that fix nearly invisible to Pulumi users, so this commit fixes the second one: the bridge resolves the upstream `docs/` through the Go module cache, where a locally `replace`d dependency never lands, so tfgen was emitting every resource with no description at all. UpstreamRepoPath now points at the checkout and all 445 inputs carry documentation -- with names rendered per language, so Python readers see `volume_name` where TypeScript readers see `volumeName`.
This commit is contained in:
Generated
+14
-9
@@ -4,6 +4,11 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "./utilities";
|
||||
|
||||
/**
|
||||
* A Dokploy project: the top-level container for environments and services.
|
||||
*
|
||||
* Creating a project automatically creates a default `production` environment. Its ID is exposed as `defaultEnvironmentId`, so services can be attached without declaring a separate `dokploy.Environment` resource.
|
||||
*/
|
||||
export class Project extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Project resource's state with the given name, ID, and optional extra
|
||||
@@ -97,27 +102,27 @@ export interface ProjectState {
|
||||
/**
|
||||
* RFC 3339 timestamp of when the project was created.
|
||||
*/
|
||||
createdAt?: pulumi.Input<string>;
|
||||
createdAt?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* ID of the `production` environment that Dokploy creates automatically with the project.
|
||||
*/
|
||||
defaultEnvironmentId?: pulumi.Input<string>;
|
||||
defaultEnvironmentId?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Free-form description.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
description?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Project-wide environment variables in `KEY=value` format, one per line. These are shared with every service in the project.
|
||||
*/
|
||||
env?: pulumi.Input<string>;
|
||||
env?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Display name of the project.
|
||||
*/
|
||||
name?: pulumi.Input<string>;
|
||||
name?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Organization that owns the project.
|
||||
*/
|
||||
organizationId?: pulumi.Input<string>;
|
||||
organizationId?: pulumi.Input<string | undefined>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -127,13 +132,13 @@ export interface ProjectArgs {
|
||||
/**
|
||||
* Free-form description.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
description?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Project-wide environment variables in `KEY=value` format, one per line. These are shared with every service in the project.
|
||||
*/
|
||||
env?: pulumi.Input<string>;
|
||||
env?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Display name of the project.
|
||||
*/
|
||||
name?: pulumi.Input<string>;
|
||||
name?: pulumi.Input<string | undefined>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user