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:
+36
-3
@@ -58,46 +58,73 @@ class GetApplicationResult:
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="appName")
|
||||
def app_name(self) -> _builtins.str:
|
||||
"""
|
||||
Docker service name.
|
||||
"""
|
||||
return pulumi.get(self, "app_name")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="applicationStatus")
|
||||
def application_status(self) -> _builtins.str:
|
||||
"""
|
||||
Current status.
|
||||
"""
|
||||
return pulumi.get(self, "application_status")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="buildType")
|
||||
def build_type(self) -> _builtins.str:
|
||||
"""
|
||||
Build strategy.
|
||||
"""
|
||||
return pulumi.get(self, "build_type")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="createdAt")
|
||||
def created_at(self) -> _builtins.str:
|
||||
"""
|
||||
Creation timestamp.
|
||||
"""
|
||||
return pulumi.get(self, "created_at")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def description(self) -> _builtins.str:
|
||||
"""
|
||||
Application description.
|
||||
"""
|
||||
return pulumi.get(self, "description")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="environmentId")
|
||||
def environment_id(self) -> _builtins.str:
|
||||
"""
|
||||
Owning environment.
|
||||
"""
|
||||
return pulumi.get(self, "environment_id")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def id(self) -> _builtins.str:
|
||||
"""
|
||||
Application identifier.
|
||||
"""
|
||||
return pulumi.get(self, "id")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def name(self) -> _builtins.str:
|
||||
"""
|
||||
Application name.
|
||||
"""
|
||||
return pulumi.get(self, "name")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="sourceType")
|
||||
def source_type(self) -> _builtins.str:
|
||||
"""
|
||||
Source of the code or image.
|
||||
"""
|
||||
return pulumi.get(self, "source_type")
|
||||
|
||||
|
||||
@@ -121,7 +148,10 @@ class AwaitableGetApplicationResult(GetApplicationResult):
|
||||
def get_application(id: Optional[_builtins.str] = None,
|
||||
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApplicationResult:
|
||||
"""
|
||||
Use this data source to access information about an existing resource.
|
||||
Look up an existing application by ID.
|
||||
|
||||
|
||||
:param _builtins.str id: Application identifier.
|
||||
"""
|
||||
__args__ = dict()
|
||||
__args__['id'] = id
|
||||
@@ -138,10 +168,13 @@ def get_application(id: Optional[_builtins.str] = None,
|
||||
id=pulumi.get(__ret__, 'id'),
|
||||
name=pulumi.get(__ret__, 'name'),
|
||||
source_type=pulumi.get(__ret__, 'source_type'))
|
||||
def get_application_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
||||
def get_application_output(id: pulumi.Input[Optional[_builtins.str]] = None,
|
||||
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApplicationResult]:
|
||||
"""
|
||||
Use this data source to access information about an existing resource.
|
||||
Look up an existing application by ID.
|
||||
|
||||
|
||||
:param _builtins.str id: Application identifier.
|
||||
"""
|
||||
__args__ = dict()
|
||||
__args__['id'] = id
|
||||
|
||||
Reference in New Issue
Block a user