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