A Pulumi package for creating and managing Huaweicloud cloud resources.
Project description
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 usingstatic credentialsauthentication, but it can also be sourced from theHW_REGION_NAMEenvironment variables. -
huaweicloud:access_key- (Optional) The access key of the HuaweiCloud to use. If omitted, theHW_ACCESS_KEYenvironment variable is used. -
huaweicloud:secret_key- (Optional) The secret key of the HuaweiCloud to use. If omitted, theHW_SECRET_KEYenvironment variable is used. -
huaweicloud:shared_config_file- (Optional) The path to the shared config file. If omitted, theHW_SHARED_CONFIG_FILEenvironment variable is used. -
huaweicloud:profile- (Optional) The profile name as set in the shared config file. If omitted, theHW_PROFILEenvironment variable is used. Defaults to thecurrentprofile 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, theHW_PROJECT_NAMEenvironment variable orregionis used. -
huaweicloud:domain_name- (Optional) The Account name of IAM to scope to. If omitted, theHW_DOMAIN_NAMEenvironment variable is used. -
huaweicloud:security_token- (Optional) The security token to authenticate with a temporary security credential. If omitted, theHW_SECURITY_TOKENenvironment variable is used. -
huaweicloud:cloud- (Optional) The endpoint of the cloud provider. If omitted, theHW_CLOUDenvironment variable is used. Defaults tomyhuaweicloud.com. -
huaweicloud:auth_url- (Optional, Required before 1.14.0) The Identity authentication URL. If omitted, theHW_AUTH_URLenvironment variable is used. Defaults tohttps://iam.{{region}}.{{cloud}}:443/v3. -
huaweicloud:insecure- (Optional) Trust self-signed SSL certificates. If omitted, theHW_INSECUREenvironment 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 is5. If omitted, theHW_MAX_RETRIESenvironment variable is used. -
huaweicloud:enterprise_project_id- (Optional) Default Enterprise Project ID for supported resources. If omitted, theHW_ENTERPRISE_PROJECT_IDenvironment 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, theHW_ASSUME_ROLE_AGENCY_NAMEenvironment variable is used.domain_name- (Required) The name of the agency domain for assume role. If omitted, theHW_ASSUME_ROLE_DOMAIN_NAMEenvironment variable is used.
Reference
For detailed reference documentation, please visit the Huaweicloud Pulumi Provider.
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
File details
Details for the file pulumi_huaweicloud-0.0.12.tar.gz.
File metadata
- Download URL: pulumi_huaweicloud-0.0.12.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11669b34ee1f9550d44d63a4ffed9710d935aa0c1157e7c00168e56f37f0675d
|
|
| MD5 |
dbd2897d6c72c9c1ac51db0baf4e8622
|
|
| BLAKE2b-256 |
f35e51fa12db42a4459f430991a33fc0c81e72d588db78fad7115fcfafbf8de9
|
Provenance
The following attestation bundles were made for pulumi_huaweicloud-0.0.12.tar.gz:
Publisher:
release.yml on huaweicloud/pulumi-huaweicloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pulumi_huaweicloud-0.0.12.tar.gz -
Subject digest:
11669b34ee1f9550d44d63a4ffed9710d935aa0c1157e7c00168e56f37f0675d - Sigstore transparency entry: 204234427
- Sigstore integration time:
-
Permalink:
huaweicloud/pulumi-huaweicloud@d9dba7a3d220007d3a90b19a50f82d294fdff1e5 -
Branch / Tag:
refs/tags/v0.0.12 - Owner: https://github.com/huaweicloud
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d9dba7a3d220007d3a90b19a50f82d294fdff1e5 -
Trigger Event:
push
-
Statement type: