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