Skip to content

tf-cloud-modules/terraform-sbercloud-sfs-turbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sbercloud VPC Terraform module

How to Configure Terraform for Sbercloud

export SBC_ACCESS_KEY="xxxx-xxx-xxx"
export SBC_SECRET_KEY="xxxx-xxx-xxx"

Provider configuration

provider "sbercloud" {
  auth_url = "https://iam.ru-moscow-1.hc.sbercloud.ru/v3"
  region   = "ru-moscow-1"
}

Usage

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"
}

Requirements

Name Version
terraform >= 0.13.1
sbercloud >= 1.9.0, < 2.0.0

Providers

Name Version
sbercloud 1.10.0

Modules

No modules.

Resources

Name Type
sbercloud_sfs_turbo.this resource

Inputs

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

Outputs

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.

About

Sbercloud SFS Turbo Terraform module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages