back
terraform {
required_providers {
alicloud = ">= 1.120.0"
}
}
top
module "alicloud_pvtz_service" {
source = "./modules/alicloud/d/alicloud_pvtz_service"
# enable - (optional) is a type of string
enable = null
}
top
variable "enable" {
description = "(optional)"
type = string
default = null
}
top
data "alicloud_pvtz_service" "this" {
# enable - (optional) is a type of string
enable = var.enable
}
top
output "id" {
description = "returns a string"
value = data.alicloud_pvtz_service.this.id
}
output "status" {
description = "returns a string"
value = data.alicloud_pvtz_service.this.status
}
output "this" {
value = alicloud_pvtz_service.this
}
top