Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 1.48 KB

alicloud_nas_file_system.md

File metadata and controls

91 lines (69 loc) · 1.48 KB

alicloud_nas_file_system

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_nas_file_system" {
  source = "./modules/alicloud/r/alicloud_nas_file_system"

  # description - (optional) is a type of string
  description = null
  # protocol_type - (required) is a type of string
  protocol_type = null
  # storage_type - (required) is a type of string
  storage_type = null
}

top

Variables

variable "description" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "protocol_type" {
  description = "(required)"
  type        = string
}

variable "storage_type" {
  description = "(required)"
  type        = string
}

top

Resource

resource "alicloud_nas_file_system" "this" {
  # description - (optional) is a type of string
  description = var.description
  # protocol_type - (required) is a type of string
  protocol_type = var.protocol_type
  # storage_type - (required) is a type of string
  storage_type = var.storage_type
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = alicloud_nas_file_system.this.id
}

output "this" {
  value = alicloud_nas_file_system.this
}

top