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
+12
-3
@@ -10,6 +10,15 @@ using Pulumi;
|
||||
|
||||
namespace Maxvojtkov.Dokploy
|
||||
{
|
||||
/// <summary>
|
||||
/// A volume, bind mount, or config file attached to a Dokploy service.
|
||||
///
|
||||
/// * `type = "volume"` — a named Docker volume; set `VolumeName`.
|
||||
/// * `type = "bind"` — a path on the host; set `HostPath`.
|
||||
/// * `type = "file"` — a file rendered from `Content`; set `FilePath`.
|
||||
///
|
||||
/// > **A `Volume` mount must set `VolumeName`.** Dokploy hands an unset name to Docker as an empty source, which creates a fresh anonymous volume on every deploy and orphans the previous one — the data never survives a redeploy. The provider rejects that combination at plan time.
|
||||
/// </summary>
|
||||
[DokployResourceType("dokploy:index/mount:Mount")]
|
||||
public partial class Mount : global::Pulumi.CustomResource
|
||||
{
|
||||
@@ -44,7 +53,7 @@ namespace Maxvojtkov.Dokploy
|
||||
public Output<string> ServiceId { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// The kind of service this mount attaches to. Valid values: `Application`, `Postgres`, `Mysql`, `Mariadb`, `Mongo`, `Redis`, `Compose`.
|
||||
/// The kind of service this mount attaches to. Valid values: `Application`, `Postgres`, `Mysql`, `Mariadb`, `Mongo`, `Redis`, `Compose`, `Libsql`.
|
||||
/// </summary>
|
||||
[Output("serviceType")]
|
||||
public Output<string> ServiceType { get; private set; } = null!;
|
||||
@@ -139,7 +148,7 @@ namespace Maxvojtkov.Dokploy
|
||||
public Input<string> ServiceId { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// The kind of service this mount attaches to. Valid values: `Application`, `Postgres`, `Mysql`, `Mariadb`, `Mongo`, `Redis`, `Compose`.
|
||||
/// The kind of service this mount attaches to. Valid values: `Application`, `Postgres`, `Mysql`, `Mariadb`, `Mongo`, `Redis`, `Compose`, `Libsql`.
|
||||
/// </summary>
|
||||
[Input("serviceType", required: true)]
|
||||
public Input<string> ServiceType { get; set; } = null!;
|
||||
@@ -195,7 +204,7 @@ namespace Maxvojtkov.Dokploy
|
||||
public Input<string>? ServiceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The kind of service this mount attaches to. Valid values: `Application`, `Postgres`, `Mysql`, `Mariadb`, `Mongo`, `Redis`, `Compose`.
|
||||
/// The kind of service this mount attaches to. Valid values: `Application`, `Postgres`, `Mysql`, `Mariadb`, `Mongo`, `Redis`, `Compose`, `Libsql`.
|
||||
/// </summary>
|
||||
[Input("serviceType")]
|
||||
public Input<string>? ServiceType { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user