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:
+30
-3
@@ -52,36 +52,57 @@ class GetEnvironmentResult:
|
||||
@_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:
|
||||
"""
|
||||
Environment description.
|
||||
"""
|
||||
return pulumi.get(self, "description")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def env(self) -> _builtins.str:
|
||||
"""
|
||||
Environment-wide variables.
|
||||
"""
|
||||
return pulumi.get(self, "env")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def id(self) -> _builtins.str:
|
||||
"""
|
||||
Environment identifier.
|
||||
"""
|
||||
return pulumi.get(self, "id")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="isDefault")
|
||||
def is_default(self) -> _builtins.bool:
|
||||
"""
|
||||
Whether this is the project's default environment.
|
||||
"""
|
||||
return pulumi.get(self, "is_default")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def name(self) -> _builtins.str:
|
||||
"""
|
||||
Environment name.
|
||||
"""
|
||||
return pulumi.get(self, "name")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="projectId")
|
||||
def project_id(self) -> _builtins.str:
|
||||
"""
|
||||
Owning project.
|
||||
"""
|
||||
return pulumi.get(self, "project_id")
|
||||
|
||||
|
||||
@@ -103,7 +124,10 @@ class AwaitableGetEnvironmentResult(GetEnvironmentResult):
|
||||
def get_environment(id: Optional[_builtins.str] = None,
|
||||
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnvironmentResult:
|
||||
"""
|
||||
Use this data source to access information about an existing resource.
|
||||
Look up an existing environment by ID.
|
||||
|
||||
|
||||
:param _builtins.str id: Environment identifier.
|
||||
"""
|
||||
__args__ = dict()
|
||||
__args__['id'] = id
|
||||
@@ -118,10 +142,13 @@ def get_environment(id: Optional[_builtins.str] = None,
|
||||
is_default=pulumi.get(__ret__, 'is_default'),
|
||||
name=pulumi.get(__ret__, 'name'),
|
||||
project_id=pulumi.get(__ret__, 'project_id'))
|
||||
def get_environment_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
||||
def get_environment_output(id: pulumi.Input[Optional[_builtins.str]] = None,
|
||||
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEnvironmentResult]:
|
||||
"""
|
||||
Use this data source to access information about an existing resource.
|
||||
Look up an existing environment by ID.
|
||||
|
||||
|
||||
:param _builtins.str id: Environment identifier.
|
||||
"""
|
||||
__args__ = dict()
|
||||
__args__['id'] = id
|
||||
|
||||
Reference in New Issue
Block a user