Skip to main content
版本:v1.3

阿里云 REMOTE-BACKEND

描述​

Deploy remote backend storage in Aliyun based on Terraform module

参数说明​

属性​

名称描述类型是否必须默认值
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-backendfalse
backend_ots_lock_instanceThe name of OTS instance to which table belongs.false
backend_ots_lock_tableOTS table to hold state lock when updating. If not set, the module will craete one with prefix terraform-remote-backendfalse
create_backend_bucketBoolean. If you have a OSS bucket already, use that one, else make this true and one will be createdfalse
create_ots_lock_instanceBoolean: If you have a OTS instance already, use that one, else make this true and one will be createdfalse
create_ots_lock_tableBoolean: If you have a ots table already, use that one, else make this true and one will be createdfalse
encrypt_stateBoolean. Whether to encrypt terraform state.false
regionThe region used to launch this module resources.false
state_aclCanned ACL applied to bucket.false
state_nameThe name of the state file. Examples: dev/tf.state, dev/frontend/tf.tfstate, etc..false
state_pathThe path directory of the state file will be stored. Examples: dev/frontend, prod/db, etc..false
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef​

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse