Skip to main content

Initializer

Properties


DefaultsOptional

  • Type: System.Collections.Generic.IDictionary< string, object >

WorkspaceOptional

  • Type: string

BucketRequired

  • Type: string
(Required) The name of the COS bucket. You shall manually create it first.

AccelerateOptional

  • Type: bool
(Optional) Whether to enable global Acceleration. Defaults to false.

AclOptional

  • Type: string
(Optional) Object ACL to be applied to the state file, allows private and public-read. Defaults to private.

AssumeRoleOptional

(Optional) The assume_role block. If provided, terraform will attempt to assume this role using the supplied credentials.

DomainOptional

  • Type: string
(Optional) The root domain of the API request. Defaults to tencentcloudapi.com. It supports the environment variable TENCENTCLOUD_DOMAIN.

EncryptOptional

  • Type: bool
(Optional) Whether to enable server side encryption of the state file. If it is true, COS will use ‘AES256’ encryption algorithm to encrypt state file.

EndpointOptional

  • Type: string
(Optional) The Custom Endpoint for the COS backend. It supports the environment variable TENCENTCLOUD_ENDPOINT.

KeyOptional

  • Type: string
(Optional) The path for saving the state file in bucket. Defaults to terraform.tfstate.

PrefixOptional

  • Type: string
(Optional) The directory for saving the state file in bucket. Default to “env:”.

RegionOptional

  • Type: string
(Optional) The region of the COS bucket. It supports environment variables TENCENTCLOUD_REGION.

SecretIdOptional

  • Type: string
(Optional) Secret id of Tencent Cloud. It supports environment variables TENCENTCLOUD_SECRET_ID.

SecretKeyOptional

  • Type: string
(Optional) Secret key of Tencent Cloud. It supports environment variables TENCENTCLOUD_SECRET_KEY.

SecurityTokenOptional

  • Type: string
(Optional) TencentCloud Security Token of temporary access credentials. It supports environment variables TENCENTCLOUD_SECURITY_TOKEN.