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
+19
-14
@@ -4,6 +4,11 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "./utilities";
|
||||
|
||||
/**
|
||||
* An S3-compatible bucket that Dokploy writes database and volume backups to.
|
||||
*
|
||||
* > The secret access key is stored in Terraform state. Use a state backend with encryption at rest.
|
||||
*/
|
||||
export class Destination extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Destination resource's state with the given name, ID, and optional extra
|
||||
@@ -138,43 +143,43 @@ export interface DestinationState {
|
||||
/**
|
||||
* S3 access key ID.
|
||||
*/
|
||||
accessKey?: pulumi.Input<string>;
|
||||
accessKey?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Extra flags passed to the underlying `rclone` invocation.
|
||||
*/
|
||||
additionalFlags?: pulumi.Input<pulumi.Input<string>[]>;
|
||||
additionalFlags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
||||
/**
|
||||
* Bucket name.
|
||||
*/
|
||||
bucket?: pulumi.Input<string>;
|
||||
bucket?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Timestamp of when the destination was created.
|
||||
*/
|
||||
createdAt?: pulumi.Input<string>;
|
||||
createdAt?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* S3 endpoint URL.
|
||||
*/
|
||||
endpoint?: pulumi.Input<string>;
|
||||
endpoint?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Display name of the destination.
|
||||
*/
|
||||
name?: pulumi.Input<string>;
|
||||
name?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Provider label, for example `s3` or `cloudflare`. Named `providerName` because `provider` is reserved by Terraform.
|
||||
*/
|
||||
providerName?: pulumi.Input<string>;
|
||||
providerName?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Bucket region, for example `us-east-1`.
|
||||
*/
|
||||
region?: pulumi.Input<string>;
|
||||
region?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* S3 secret access key.
|
||||
*/
|
||||
secretAccessKey?: pulumi.Input<string>;
|
||||
secretAccessKey?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Server this destination is scoped to.
|
||||
*/
|
||||
serverId?: pulumi.Input<string>;
|
||||
serverId?: pulumi.Input<string | undefined>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -188,7 +193,7 @@ export interface DestinationArgs {
|
||||
/**
|
||||
* Extra flags passed to the underlying `rclone` invocation.
|
||||
*/
|
||||
additionalFlags?: pulumi.Input<pulumi.Input<string>[]>;
|
||||
additionalFlags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
||||
/**
|
||||
* Bucket name.
|
||||
*/
|
||||
@@ -200,11 +205,11 @@ export interface DestinationArgs {
|
||||
/**
|
||||
* Display name of the destination.
|
||||
*/
|
||||
name?: pulumi.Input<string>;
|
||||
name?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Provider label, for example `s3` or `cloudflare`. Named `providerName` because `provider` is reserved by Terraform.
|
||||
*/
|
||||
providerName?: pulumi.Input<string>;
|
||||
providerName?: pulumi.Input<string | undefined>;
|
||||
/**
|
||||
* Bucket region, for example `us-east-1`.
|
||||
*/
|
||||
@@ -216,5 +221,5 @@ export interface DestinationArgs {
|
||||
/**
|
||||
* Server this destination is scoped to.
|
||||
*/
|
||||
serverId?: pulumi.Input<string>;
|
||||
serverId?: pulumi.Input<string | undefined>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user