Skip to main content

Initializer

Properties


defaultsOptional

  • Type: java.util.Map< java.lang.String, java.lang.Object >

workspaceOptional

  • Type: java.lang.String

bucketRequired

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

accelerateOptional

  • Type: java.lang.Boolean
(Optional) Whether to enable global Acceleration. Defaults to false.

aclOptional

  • Type: java.lang.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: java.lang.String
(Optional) The root domain of the API request. Defaults to tencentcloudapi.com. It supports the environment variable TENCENTCLOUD_DOMAIN.

encryptOptional

  • Type: java.lang.Boolean
(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: java.lang.String
(Optional) The Custom Endpoint for the COS backend. It supports the environment variable TENCENTCLOUD_ENDPOINT.

keyOptional

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

prefixOptional

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

regionOptional

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

secretIdOptional

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

secretKeyOptional

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

securityTokenOptional

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