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
andpulumi-provider-framework
.
Package SDKs
- Node.js: https://www.npmjs.com/package/@cloudyskysoftware/pulumi-render
- Python: https://pypi.org/project/pulumi-render/
- .NET: https://www.nuget.org/packages/Pulumi.Render
- Go:
import github.com/cloudyskysoftware/pulumi-render/sdk/go/render
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.
-
Regular releases should just increment the patch version unless a minor or a major (breaking changes) version bump is warranted.
-
Update the
CHANGELOG.md
with notes about what will be included in this release. -
Commit the changelog with
git commit -am "vX.Y.Z"
or something similar and pushgit push origin main
. -
Tag the commit with the release version by running
git tag vX.Y.Z git tag sdk/vX.Y.Z
-
Push the tags.
git push --tags
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pulumi_render-0.3.12.tar.gz
.
File metadata
- Download URL: pulumi_render-0.3.12.tar.gz
- Upload date:
- Size: 94.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1560c2df20a247897ccd2dff048a46ac88588e076d6442adcb336dca6b82258 |
|
MD5 | 266978e2679c749bbe7ffd66d370158f |
|
BLAKE2b-256 | 7d07b6d54ae8c0edd71d9e1e3b031a65c32fea827f5efd295defd56e31e25dc4 |
File details
Details for the file pulumi_render-0.3.12-py3-none-any.whl
.
File metadata
- Download URL: pulumi_render-0.3.12-py3-none-any.whl
- Upload date:
- Size: 210.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 208ed7cec41200b3954741283f228e90c4f5dd9995a487603081c95df3244239 |
|
MD5 | 71e227aeaca340697f9340322e5c6d34 |
|
BLAKE2b-256 | d3873d1470c23828bb3b0177fa4359bb7b9487e78fdb57cc8ae0d82b7457566e |