Skip to main content

A Pulumi package for creating and managing Render resources.

Project description

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
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_render-0.5.4.tar.gz (109.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulumi_render-0.5.4-py3-none-any.whl (245.5 kB view details)

Uploaded Python 3

File details

Details for the file pulumi_render-0.5.4.tar.gz.

File metadata

  • Download URL: pulumi_render-0.5.4.tar.gz
  • Upload date:
  • Size: 109.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pulumi_render-0.5.4.tar.gz
Algorithm Hash digest
SHA256 f7ea5b4ec561654b96e45bfc72c5451c48db42e9f988296b69e0034ad8ad6bbe
MD5 1b58afdaf66d2108b6bd75151d9471f0
BLAKE2b-256 2a90c3c179882c2385b1ae3871f1b8ee2e02d1b62004c69137eee7bd7f03935b

See more details on using hashes here.

File details

Details for the file pulumi_render-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: pulumi_render-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 245.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pulumi_render-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd2416ddf268f2f27426a64abc762ae5db93363329c3b37cef8fb86dcdfe88e
MD5 93f9d77d662a73a9453439e45d77021e
BLAKE2b-256 80b36a51585ca6cd8bcd60928ca9c5cd0c02920ff54418d1e56f3dac1eef551d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page