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
+33
@@ -4,6 +4,9 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "./utilities";
|
||||
|
||||
/**
|
||||
* Look up an existing environment by ID.
|
||||
*/
|
||||
export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("dokploy:index/getEnvironment:getEnvironment", {
|
||||
@@ -15,6 +18,9 @@ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOpt
|
||||
* A collection of arguments for invoking getEnvironment.
|
||||
*/
|
||||
export interface GetEnvironmentArgs {
|
||||
/**
|
||||
* Environment identifier.
|
||||
*/
|
||||
id: string;
|
||||
}
|
||||
|
||||
@@ -22,14 +28,38 @@ export interface GetEnvironmentArgs {
|
||||
* A collection of values returned by getEnvironment.
|
||||
*/
|
||||
export interface GetEnvironmentResult {
|
||||
/**
|
||||
* Creation timestamp.
|
||||
*/
|
||||
readonly createdAt: string;
|
||||
/**
|
||||
* Environment description.
|
||||
*/
|
||||
readonly description: string;
|
||||
/**
|
||||
* Environment-wide variables.
|
||||
*/
|
||||
readonly env: string;
|
||||
/**
|
||||
* Environment identifier.
|
||||
*/
|
||||
readonly id: string;
|
||||
/**
|
||||
* Whether this is the project's default environment.
|
||||
*/
|
||||
readonly isDefault: boolean;
|
||||
/**
|
||||
* Environment name.
|
||||
*/
|
||||
readonly name: string;
|
||||
/**
|
||||
* Owning project.
|
||||
*/
|
||||
readonly projectId: string;
|
||||
}
|
||||
/**
|
||||
* Look up an existing environment by ID.
|
||||
*/
|
||||
export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("dokploy:index/getEnvironment:getEnvironment", {
|
||||
@@ -41,5 +71,8 @@ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulu
|
||||
* A collection of arguments for invoking getEnvironment.
|
||||
*/
|
||||
export interface GetEnvironmentOutputArgs {
|
||||
/**
|
||||
* Environment identifier.
|
||||
*/
|
||||
id: pulumi.Input<string>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user