Skip to content

terraform-navercloudplatform-modules/terraform-ncloud-block-storage-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

No requirements.

Providers

Name Version
ncloud n/a

Modules

No modules.

Resources

Name Type
ncloud_block_storage.block_storage resource

Inputs

Name Description Type Default Required
description (Optional) description to create. string null no
disk_detail_type (Optional) Type of block storage disk detail to create. Default SSD. Accepted values: SSD | HDD string "SSD" no
name (Optional) The name to create. If omitted, Terraform will assign a random, unique name. string null no
server_instance_no (Required) When first created. (Optional) After creation. Server instance ID to which you want to assign the block storage. string n/a yes
size (Required) The size of the block storage to create. It is automatically set when you take a snapshot. string n/a yes
stop_instance_before_detaching (Optional, Boolean) Set this to true to ensure that the target instance is stopped before trying to detach the block storage. It stops the instance, if it is not already stopped. > If stop_instance_before_detaching is true, server will be stopped and will not start automatically. User must start server instance manually via NCLOUD console or API. bool false no

Outputs

Name Description
block_storage_no The ID of Block storage instance. (It is the same result as id)
device_name Device name.
disk_type Disk type code.
id The ID of Block storage instance.
product_code Block storage product code.
server_name Server name.
status Block storage instance status code.
type Block storage type code.