- Sbercloud Quickstart
- Add environment variables for terraform authentication in Sbercloud
export SBC_ACCESS_KEY="xxxx-xxx-xxx"
export SBC_SECRET_KEY="xxxx-xxx-xxx"
provider "sbercloud" {
auth_url = "https://iam.ru-moscow-1.hc.sbercloud.ru/v3"
region = "ru-moscow-1"
}
module "sfs-turbo" {
source = "tf-cloud-modules/sfs-turbo/sbercloud"
name = "sfs-test"
availability_zone = "ru-moscow-1a"
vpc_id = "xxx-xxx-xxx"
subnet_id = "xxx-xxx-xxx"
security_group_id = "xxx-xxx-xxx"
}
Name | Version |
---|---|
terraform | >= 0.13.1 |
sbercloud | >= 1.9.0, < 2.0.0 |
Name | Version |
---|---|
sbercloud | 1.10.0 |
No modules.
Name | Type |
---|---|
sbercloud_sfs_turbo.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
availability_zone | Specifies the availability zone where the file system is located. | string |
n/a | yes |
create | Controls if resources should be created. | bool |
true |
no |
enhanced | Specifies whether the file system is enhanced or not. | string |
null |
no |
name | Specifies the name of an SFS Turbo file system. | string |
n/a | yes |
region | The region in which to create the SFS Turbo resource. If omitted, the provider-level region will be used. | string |
null |
no |
security_group_id | Specifies the security group ID. | string |
n/a | yes |
share_proto | Specifies the protocol for sharing file systems. | string |
null |
no |
share_type | Specifies the file system type. | string |
null |
no |
size | Specifies the capacity of a common file system, in GB. | number |
500 |
no |
subnet_id | Specifies the network ID of the subnet. | string |
n/a | yes |
vpc_id | Specifies the VPC ID. Changing this will create a new resource. | string |
n/a | yes |
Name | Description |
---|---|
available_capacity | The available capacity of the SFS Turbo file system in the unit of GB. |
export_location | The mount point of the SFS Turbo file system. |
id | The UUID of the SFS Turbo file system. |
region | The region of the SFS Turbo file system. |
version | The version ID of the SFS Turbo file system. |