tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

alicloud_cen_vbr_health_checks

back

Index

Terraform

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

top

Example Usage

module "alicloud_cen_vbr_health_checks" {
  source = "./modules/alicloud/d/alicloud_cen_vbr_health_checks"

  # cen_id - (optional) is a type of string
  cen_id = null
  # output_file - (optional) is a type of string
  output_file = null
  # vbr_instance_id - (optional) is a type of string
  vbr_instance_id = null
  # vbr_instance_owner_id - (optional) is a type of number
  vbr_instance_owner_id = null
  # vbr_instance_region_id - (required) is a type of string
  vbr_instance_region_id = null
}

top

Variables

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

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

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

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

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

top

Datasource

data "alicloud_cen_vbr_health_checks" "this" {
  # cen_id - (optional) is a type of string
  cen_id = var.cen_id
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # vbr_instance_id - (optional) is a type of string
  vbr_instance_id = var.vbr_instance_id
  # vbr_instance_owner_id - (optional) is a type of number
  vbr_instance_owner_id = var.vbr_instance_owner_id
  # vbr_instance_region_id - (required) is a type of string
  vbr_instance_region_id = var.vbr_instance_region_id
}

top

Outputs

output "checks" {
  description = "returns a list of object"
  value       = data.alicloud_cen_vbr_health_checks.this.checks
}

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

output "ids" {
  description = "returns a list of string"
  value       = data.alicloud_cen_vbr_health_checks.this.ids
}

output "this" {
  value = alicloud_cen_vbr_health_checks.this
}

top