back
terraform {
required_providers {
alicloud = ">= 1.120.0"
}
}
top
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
variable "description" {
description = "(optional)"
type = string
default = null
}
variable "protocol_type" {
description = "(required)"
type = string
}
variable "storage_type" {
description = "(required)"
type = string
}
top
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
output "id" {
description = "returns a string"
value = alicloud_nas_file_system.this.id
}
output "this" {
value = alicloud_nas_file_system.this
}
top