Skip to main content

Huaweicloud Pulumi Provider

The Huaweicloud Pulumi Provider lets you manage Huaweicloud resources.

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @huaweicloudos/pulumi

or yarn:

yarn add @huaweicloudos/pulumi

Python

To use from Python, install using pip:

pip install pulumi_huaweicloud

Go

To use from Go, use go get to grab the latest version of the library:

go get github.com/huaweicloud/pulumi-huaweicloud/sdk/go/...

Configuration

The following configuration points are available for the huaweicloud provider:

  • huaweicloud:region - (Optional) This is the Huawei Cloud region. It must be provided when using static credentials authentication, but it can also be sourced from the HW_REGION_NAME environment variables.

  • huaweicloud:access_key - (Optional) The access key of the HuaweiCloud to use. If omitted, the HW_ACCESS_KEY environment variable is used.

  • huaweicloud:secret_key - (Optional) The secret key of the HuaweiCloud to use. If omitted, the HW_SECRET_KEY environment variable is used.

  • huaweicloud:shared_config_file - (Optional) The path to the shared config file. If omitted, the HW_SHARED_CONFIG_FILE environment variable is used.

  • huaweicloud:profile - (Optional) The profile name as set in the shared config file. If omitted, the HW_PROFILE environment variable is used. Defaults to the current profile in the shared config file.

  • huaweicloud:assume_role - (Optional) Configuration block for an assumed role. See below. Only one assume_role block may be in the configuration.

  • huaweicloud:project_name - (Optional) The Name of the project to login with. If omitted, the HW_PROJECT_NAME environment variable or region is used.

  • huaweicloud:domain_name - (Optional) The Account name of IAM to scope to. If omitted, the HW_DOMAIN_NAME environment variable is used.

  • huaweicloud:security_token - (Optional) The security token to authenticate with a temporary security credential. If omitted, the HW_SECURITY_TOKEN environment variable is used.

  • huaweicloud:cloud - (Optional) The endpoint of the cloud provider. If omitted, the HW_CLOUD environment variable is used. Defaults to myhuaweicloud.com.

  • huaweicloud:auth_url - (Optional, Required before 1.14.0) The Identity authentication URL. If omitted, the HW_AUTH_URL environment variable is used. Defaults to https://iam.{{region}}.{{cloud}}:443/v3.

  • huaweicloud:insecure - (Optional) Trust self-signed SSL certificates. If omitted, the HW_INSECURE environment variable is used.

  • huaweicloud:max_retries - (Optional) This is the maximum number of times an API call is retried, in the case where requests are being throttled or experiencing transient failures. The delay between the subsequent API calls increases exponentially. The default value is 5. If omitted, the HW_MAX_RETRIES environment variable is used.

  • huaweicloud:enterprise_project_id - (Optional) Default Enterprise Project ID for supported resources. If omitted, the HW_ENTERPRISE_PROJECT_ID environment variable is used.

  • huaweicloud:endpoints - (Optional) Configuration block in key/value pairs for customizing service endpoints. The following endpoints support to be customized: autoscaling, ecs, ims, vpc, nat, evs, obs, sfs, cce, rds, dds, iam. An example provider configuration:

    provider "huaweicloud" {
      ...
      endpoints = {
        ecs = "https://ecs-customizing-endpoint.com"
      }
    }
    

The assume_role block supports:

  • agency_name - (Required) The name of the agency for assume role. If omitted, the HW_ASSUME_ROLE_AGENCY_NAME environment variable is used.
  • domain_name - (Required) The name of the agency domain for assume role. If omitted, the HW_ASSUME_ROLE_DOMAIN_NAME environment variable is used.

Reference

For detailed reference documentation, please visit the Huaweicloud Pulumi Provider.

Metadata

Release files for pulumi-huaweicloud 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulumi-huaweicloud 0.0.12
File Size Uploaded Provenance Actions
pulumi_huaweicloud-0.0.12.tar.gz 1.8 MB With provenance Details for pulumi_huaweicloud-0.0.12.tar.gz

Release files / pulumi_huaweicloud-0.0.12.tar.gz

Download URL pulumi_huaweicloud-0.0.12.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
11669b34ee1f9550d44d63a4ffed9710d935aa0c1157e7c00168e56f37f0675d
BLAKE2b-256 checksum
How to use checksums
f35e51fa12db42a4459f430991a33fc0c81e72d588db78fad7115fcfafbf8de9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 29, 2025.

Transparency log

Security for pulumi-huaweicloud 0.0.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 1 file in this release has been uploaded with provenance metadata.

Attestation for pulumi_huaweicloud-0.0.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 29, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page