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
-3
@@ -56,41 +56,65 @@ class GetProjectResult:
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="createdAt")
|
||||
def created_at(self) -> _builtins.str:
|
||||
"""
|
||||
Creation timestamp.
|
||||
"""
|
||||
return pulumi.get(self, "created_at")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="defaultEnvironmentId")
|
||||
def default_environment_id(self) -> _builtins.str:
|
||||
"""
|
||||
ID of the project's default environment.
|
||||
"""
|
||||
return pulumi.get(self, "default_environment_id")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def description(self) -> _builtins.str:
|
||||
"""
|
||||
Project description.
|
||||
"""
|
||||
return pulumi.get(self, "description")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def env(self) -> _builtins.str:
|
||||
"""
|
||||
Project-wide environment variables.
|
||||
"""
|
||||
return pulumi.get(self, "env")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def environments(self) -> Sequence['outputs.GetProjectEnvironmentResult']:
|
||||
"""
|
||||
Every environment in the project.
|
||||
"""
|
||||
return pulumi.get(self, "environments")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def id(self) -> _builtins.str:
|
||||
"""
|
||||
Project identifier.
|
||||
"""
|
||||
return pulumi.get(self, "id")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter
|
||||
def name(self) -> _builtins.str:
|
||||
"""
|
||||
Project name.
|
||||
"""
|
||||
return pulumi.get(self, "name")
|
||||
|
||||
@_builtins.property
|
||||
@pulumi.getter(name="organizationId")
|
||||
def organization_id(self) -> _builtins.str:
|
||||
"""
|
||||
Owning organization.
|
||||
"""
|
||||
return pulumi.get(self, "organization_id")
|
||||
|
||||
|
||||
@@ -113,7 +137,10 @@ class AwaitableGetProjectResult(GetProjectResult):
|
||||
def get_project(id: Optional[_builtins.str] = None,
|
||||
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
|
||||
"""
|
||||
Use this data source to access information about an existing resource.
|
||||
Look up an existing Dokploy project by ID, including its environments.
|
||||
|
||||
|
||||
:param _builtins.str id: Project identifier.
|
||||
"""
|
||||
__args__ = dict()
|
||||
__args__['id'] = id
|
||||
@@ -129,10 +156,13 @@ def get_project(id: Optional[_builtins.str] = None,
|
||||
id=pulumi.get(__ret__, 'id'),
|
||||
name=pulumi.get(__ret__, 'name'),
|
||||
organization_id=pulumi.get(__ret__, 'organization_id'))
|
||||
def get_project_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
||||
def get_project_output(id: pulumi.Input[Optional[_builtins.str]] = None,
|
||||
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
|
||||
"""
|
||||
Use this data source to access information about an existing resource.
|
||||
Look up an existing Dokploy project by ID, including its environments.
|
||||
|
||||
|
||||
:param _builtins.str id: Project identifier.
|
||||
"""
|
||||
__args__ = dict()
|
||||
__args__['id'] = id
|
||||
|
||||
Reference in New Issue
Block a user