@cloudyskysoftware/pulumi-render

中文文档
0.6.0发布于 2026/10/14Apache-2.0TypeScript构建来源已验证近 30 天下载 5.7万

Render is a unified cloud to build and run all your apps and websites with free TLS certificates, a global CDN, DDoS protection, private networks, and auto deploys from Git.

原始使用文档
文档目录4 节
  1. Package SDKs
  2. Using The Provider
  3. Importing Existing Resources
  4. Releasing A New Version

Pulumi Native Provider for Render

Render is a unified cloud to build and run all your apps and websites with free TLS certificates, a global CDN, DDoS protection, private networks, and auto deploys from Git.

This provider was generated using pulschema and pulumi-provider-framework.

Package SDKs

Using The Provider

You'll need an API key. Follow Render's docs for creating one. Then set the API key as a secret with pulumi config set --secret render:apiKey.

Importing Existing Resources

Import IDs should satisfy all ID segments in the GET endpoint for the resource you are importing. The IDs required in the path should be separated by /. Locate the GET endpoint in the OpenAPI spec.

For example, to read a custom domain, the path in the OpenAPI spec is: GET /services/{serviceId}/custom-domains/{customDomainIdOrName}.

Thus, the pulumi import command to run is:

# The type render:services:CustomDomain can be easily found by using your IDEs
# Go To Definition functionality for the resource and looking at the type
# property defined in the custom resource's class definition.
pulumi import render:services:CustomDomain {resourceName} /{serviceId}/{customDomainIdOrName}

Alternatively, you can also import using the import Pulumi resource option. Run pulumi up to import the resource into your stack's state. Once imported, you should remove the import resource option.

const myCustomDomain = new render.services.CustomDomain(
    "myCustomDomain",
    { name: "www.somedomain.com", serviceId: staticSite.id },
    {
        protect: true,
        import: `/srv-xxxxxxxxxxxxxxx/www.somedomain.com`,
    },
);

Refer to the Pulumi docs for importing a resource.

Releasing A New Version

:info: Switch to the main branch first and get the latest git pull origin main && git fetch. Check what the last release tag was.

  1. Regular releases should just increment the patch version unless a minor or a major (breaking changes) version bump is warranted.

  2. Update the CHANGELOG.md with notes about what will be included in this release.

  3. Commit the changelog with git commit -am "vX.Y.Z" or something similar and push git push origin main.

  4. Tag the commit with the release version by running

    git tag vX.Y.Z
    git tag sdk/vX.Y.Z
    
  5. Push the tags.

    git push --tags
    

版本与发布记录

@cloudyskysoftware/pulumi-render 共发布 40 个版本,首次发布于 2022/07/27;过去 12 个月发布了 1 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.6.0latest2026/10/1427 天前
0.5.52025/09/221.1 年前
0.5.42025/09/221.1 年前
0.5.32025/09/211.1 年前
0.5.22025/09/211.1 年前
0.4.72025/04/281.5 年前

关于 @cloudyskysoftware/pulumi-render 的常见问题

@cloudyskysoftware/pulumi-render 是什么?

Render is a unified cloud to build and run all your apps and websites with free TLS certificates, a global CDN, DDoS protection, private networks, and auto deploys from Git.

如何安装 @cloudyskysoftware/pulumi-render?

在项目目录运行 npm install @cloudyskysoftware/pulumi-render,或使用 pnpm add / yarn add / bun add。

@cloudyskysoftware/pulumi-render 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cloudyskysoftware/pulumi-render 可以商用吗?

@cloudyskysoftware/pulumi-render 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@cloudyskysoftware/pulumi-render 的下载量有多少?

根据 npm 官方下载统计,@cloudyskysoftware/pulumi-render 在 2026/10/10 – 2026/11/08 这 30 天内被下载 57,079 次,日均约 1,903 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cloudyskysoftware/pulumi-render 还在维护吗?

最新版本 0.6.0 发布于 2026/10/14(27 天前);至今共发布 40 个版本,其中过去 12 个月发布了 1 个;首次发布于 2022/07/27。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。