Skip to main content

No project description provided

Project description

Defang Pulumi Provider

GitHub tag (latest by date)

The Pulumi provider for Defang - a radically simpler way to develop, deploy, and debug cloud applications. The easiest way to deploy your Docker Compose project to the cloud with Pulumi.

Installation

The Defang provider is available as a package in most Pulumi languages:

Authentication

Authenticating with Defang

Sign up for Defang with your Github account.

Authenticating in Github Actions workflows

When run in a Github Actions workflow, the Defang Pulumi provider will automatically use environment varialbes Github providew to authenticate your Github user with Defang if you give your workflow the appropriate permissions. Defang use the ACTIONS_ID_TOKEN_REQUEST_URL and ACTIONS_ID_TOKEN_REQUEST_TOKEN env vars.

Authenticating with defang token

You can run defang token --expires 30d out of band with a reasonable duration and you can store the result in DEFANG_ACCESS_TOKEN.

Authenticating with your cloud provider

You will also need to authenticate with your cloud provider.

  • For AWS, there are many ways to authenticate
  • For Digital Ocean, you will need to set the following env vars:
    • DIGITALOCEAN_TOKEN
    • SPACES_ACCESS_KEY_ID
    • SPACES_SECRET_ACCESS_KEY
  • For Google Cloud, you may wish to use the google-github-actions/auth Github Action

Example usage

You can find working Go, Python, and TypeScript code samples in the ./examples directory.

Reference

For detailed reference documentation, please visit the Pulumi registry.

Development

See the Contributing doc.

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_defang-0.19.7a1741223605.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file pulumi_defang-0.19.7a1741223605.tar.gz.

File metadata

File hashes

Hashes for pulumi_defang-0.19.7a1741223605.tar.gz
Algorithm Hash digest
SHA256 0478ab9ccb24488a0a516f54ba4ea47ea2c09f772226e08db17bac85288f23f2
MD5 275f066712c0c3e9851f76eba691ddca
BLAKE2b-256 521f3cfeaf02638c2dfab2870aaed10fe3750d8844bcd45454fb8cd00371ac5c

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