Skip to main content
Version: v1.6

Alibaba Cloud REMOTE-BACKEND

Description​

Deploy remote backend storage in Aliyun based on Terraform module.

Specification​

NameDescriptionTypeRequiredDefault
backend_oss_bucketName of OSS bucket prepared to hold your terraform state(s). If not set, the module will craete one with prefix terraform-remote-backend.stringfalse
backend_ots_lock_instanceThe name of OTS instance to which table belongs.stringfalse
backend_ots_lock_tableOTS table to hold state lock when updating. If not set, the module will craete one with prefix terraform-remote-backend.stringfalse
create_backend_bucketBoolean. If you have a OSS bucket already, use that one, else make this true and one will be created.boolfalse
create_ots_lock_instanceBoolean: If you have a OTS instance already, use that one, else make this true and one will be created.boolfalse
create_ots_lock_tableBoolean: If you have a ots table already, use that one, else make this true and one will be created.boolfalse
encrypt_stateBoolean. Whether to encrypt terraform state.boolfalse
regionThe region used to launch this module resources.stringfalse
state_aclCanned ACL applied to bucket.stringfalse
state_nameThe name of the state file. Examples: dev/tf.state, dev/frontend/tf.tfstate, etc..stringfalse
state_pathThe path directory of the state file will be stored. Examples: dev/frontend, prod/db, etc..stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

writeConnectionSecretToRef​

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse