kubevela.github.io/docs/end-user/components/cloud-services/terraform/alibaba-remote-backend.md

2.1 KiB

title
Alibaba Cloud REMOTE-BACKEND

Description

Deploy remote backend storage in Aliyun based on Terraform module

Specification

Properties

Name Description Type Required Default
region The region used to launch this module resources. false
create_ots_lock_instance Boolean: If you have a OTS instance already, use that one, else make this true and one will be created false
backend_ots_lock_instance The name of OTS instance to which table belongs. false
backend_ots_lock_table OTS table to hold state lock when updating. If not set, the module will craete one with prefix terraform-remote-backend false
create_backend_bucket Boolean. If you have a OSS bucket already, use that one, else make this true and one will be created false
backend_oss_bucket Name of OSS bucket prepared to hold your terraform state(s). If not set, the module will craete one with prefix terraform-remote-backend false
create_ots_lock_table Boolean: If you have a ots table already, use that one, else make this true and one will be created false
state_acl Canned ACL applied to bucket. false
encrypt_state Boolean. Whether to encrypt terraform state. false
state_path The path directory of the state file will be stored. Examples: dev/frontend, prod/db, etc.. false
state_name The name of the state file. Examples: dev/tf.state, dev/frontend/tf.tfstate, etc.. false
writeConnectionSecretToRef The secret which the cloud resource connection will be written to writeConnectionSecretToRef false

writeConnectionSecretToRef

Name Description Type Required Default
name The secret name which the cloud resource connection will be written to string true
namespace The secret namespace which the cloud resource connection will be written to string false