The Volcenginecc resource provider for Pulumi lets you use volcengine resources in your cloud programs. To use
this package, please install the Pulumi CLI first.
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm:
$ npm install @volcengine/pulumi-volcenginecc
or yarn:
$ yarn add @volcengine/pulumi-volcenginecc
Python
To use from Python, install using pip:
$ pip install pulumi_volcenginecc
Go
To use from Go, use go get to grab the latest version of the library
$ go get github.com/volcengine/pulumi-volcengine/sdk
.NET
To use from .NET, install using dotnet add package:
$ dotnet add package Pulumi.Volcenginecc
Configuration Reference
In addition to generic provider arguments
(e.g. alias and version), the following arguments are supported in the Volcenginecc
provider configuration:
Optional
accessKey (String) The Access Key for Volcengine Provider. It must be provided, but it can also be sourced from the VOLCENGINE_ACCESS_KEY environment variable
secretKey (String) he Secret Key for Volcengine Provider. It must be provided, but it can also be sourced from the VOLCENGINE_SECRET_KEY environment variable
profile (String) The Profile for Volcengine Provider. It can be used as an alternative authentication method to AK/SK, and can also be sourced from the VOLCENGINE_PROFILE environment variable
file_path (String) The File Path for Volcengine Provider. It specifies the path to the profile configuration file. If not specified, the default path ~/.volcengine will be used, and can also be sourced from the VOLCENGINE_FILE_PATH environment variable
assumeRole (Attributes) An assume_role block (documented below). Only one assume_role block may be in the configuration. (see below for nested schema)
customerHeaders (String) CUSTOMER HEADERS for Volcengine Provider. The customer_headers field uses commas (,) to separate multiple headers, and colons (:) to separate each header key from its corresponding value.
disableSsl (Boolean) Disable SSL for Volcengine Provider
endpoints (Attributes) An endpoints block (documented below). Only one endpoints block may be in the configuration. (see below for nested schema)
proxyUrl (String) PROXY URL for Volcengine Provider
region (String) The Region for Volcengine Provider. It must be provided, but it can also be sourced from the VOLCENGINE_REGION environment variable
Nested Schema for assume_role
Required:
assumeRoleTrn (String) he TRN of the role to assume.
durationSeconds (Number) The duration of the session when making the AssumeRole call. Its value ranges from 900 to 43200(seconds), and default is 3600 seconds.
Optional:
policy (String) A more restrictive policy when making the AssumeRole call
Nested Schema for endpoints
Optional:
cloudcontrolapi (String) Use this to override the default Cloud Control API service endpoint URL
sts (String) Use this to override the default STS service endpoint URL
Volcenginecc Resource Provider
The Volcenginecc resource provider for Pulumi lets you use volcengine resources in your cloud programs. To use this package, please install the Pulumi CLI first.
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either
npm:or
yarn:Python
To use from Python, install using
pip:Go
To use from Go, use
go getto grab the latest version of the library.NET
To use from .NET, install using
dotnet add package:Configuration Reference
In addition to generic
providerarguments (e.g.aliasandversion), the following arguments are supported in the Volcenginecc provider configuration:Optional
accessKey(String) The Access Key for Volcengine Provider. It must be provided, but it can also be sourced from theVOLCENGINE_ACCESS_KEYenvironment variablesecretKey(String) he Secret Key for Volcengine Provider. It must be provided, but it can also be sourced from theVOLCENGINE_SECRET_KEYenvironment variableprofile(String) The Profile for Volcengine Provider. It can be used as an alternative authentication method to AK/SK, and can also be sourced from theVOLCENGINE_PROFILEenvironment variablefile_path(String) The File Path for Volcengine Provider. It specifies the path to the profile configuration file. If not specified, the default path~/.volcenginewill be used, and can also be sourced from theVOLCENGINE_FILE_PATHenvironment variableassumeRole(Attributes) Anassume_roleblock (documented below). Only oneassume_roleblock may be in the configuration. (see below for nested schema)customerHeaders(String) CUSTOMER HEADERS for Volcengine Provider. The customer_headers field uses commas (,) to separate multiple headers, and colons (:) to separate each header key from its corresponding value.disableSsl(Boolean) Disable SSL for Volcengine Providerendpoints(Attributes) Anendpointsblock (documented below). Only oneendpointsblock may be in the configuration. (see below for nested schema)proxyUrl(String) PROXY URL for Volcengine Providerregion(String) The Region for Volcengine Provider. It must be provided, but it can also be sourced from theVOLCENGINE_REGIONenvironment variableNested Schema for
assume_roleRequired:
assumeRoleTrn(String) he TRN of the role to assume.durationSeconds(Number) The duration of the session when making the AssumeRole call. Its value ranges from 900 to 43200(seconds), and default is 3600 seconds. Optional:policy(String) A more restrictive policy when making the AssumeRole callNested Schema for
endpointsOptional:
cloudcontrolapi(String) Use this to override the default Cloud Control API service endpoint URLsts(String) Use this to override the default STS service endpoint URL