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
+9
-6
@@ -4,6 +4,9 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "./utilities";
|
||||
|
||||
/**
|
||||
* A Traefik redirect rule attached to an application.
|
||||
*/
|
||||
export class Redirect extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Redirect resource's state with the given name, ID, and optional extra
|
||||
@@ -100,23 +103,23 @@ export interface RedirectState {
|
||||
/**
|
||||
* Application this redirect belongs to.
|
||||
*/
|
||||
applicationId?: pulumi.Input<string>;
|
||||
applicationId?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* RFC 3339 timestamp of when the redirect was created.
|
||||
*/
|
||||
createdAt?: pulumi.Input<string>;
|
||||
createdAt?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Issue a permanent (301) redirect instead of a temporary (302) one.
|
||||
*/
|
||||
permanent?: pulumi.Input<boolean>;
|
||||
permanent?: pulumi.Input<boolean | undefined>;
|
||||
/**
|
||||
* Regular expression matched against the incoming URL.
|
||||
*/
|
||||
regex?: pulumi.Input<string>;
|
||||
regex?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Replacement URL, which may reference capture groups such as `${1}`.
|
||||
*/
|
||||
replacement?: pulumi.Input<string>;
|
||||
replacement?: pulumi.Input<string | undefined>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -130,7 +133,7 @@ export interface RedirectArgs {
|
||||
/**
|
||||
* Issue a permanent (301) redirect instead of a temporary (302) one.
|
||||
*/
|
||||
permanent?: pulumi.Input<boolean>;
|
||||
permanent?: pulumi.Input<boolean | undefined>;
|
||||
/**
|
||||
* Regular expression matched against the incoming URL.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user