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";
|
||||
|
||||
/**
|
||||
* An environment inside a Dokploy project, such as `staging` or `production`. Services belong to an environment rather than directly to a project.
|
||||
*
|
||||
* Dokploy creates a default `production` environment with every project; reference it via `dokploy_project.<name>.default_environment_id` instead of declaring it here.
|
||||
*/
|
||||
export class Environment extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
||||
@@ -100,27 +105,27 @@ export interface EnvironmentState {
|
||||
/**
|
||||
* RFC 3339 timestamp of when the environment was created.
|
||||
*/
|
||||
createdAt?: pulumi.Input<string>;
|
||||
createdAt?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Free-form description.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
description?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Environment-wide variables in `KEY=value` format, one per line. These are merged into every service in this environment.
|
||||
*/
|
||||
env?: pulumi.Input<string>;
|
||||
env?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Whether this is the project's default environment.
|
||||
*/
|
||||
isDefault?: pulumi.Input<boolean>;
|
||||
isDefault?: pulumi.Input<boolean | undefined>;
|
||||
/**
|
||||
* Environment name, for example `staging`.
|
||||
*/
|
||||
name?: pulumi.Input<string>;
|
||||
name?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Project this environment belongs to.
|
||||
*/
|
||||
projectId?: pulumi.Input<string>;
|
||||
projectId?: pulumi.Input<string | undefined>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -130,15 +135,15 @@ export interface EnvironmentArgs {
|
||||
/**
|
||||
* Free-form description.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
description?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Environment-wide variables in `KEY=value` format, one per line. These are merged into every service in this environment.
|
||||
*/
|
||||
env?: pulumi.Input<string>;
|
||||
env?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Environment name, for example `staging`.
|
||||
*/
|
||||
name?: pulumi.Input<string>;
|
||||
name?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Project this environment belongs to.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user