Skip to content

Latest commit

 

History

History
102 lines (78 loc) · 1.81 KB

alicloud_privatelink_vpc_endpoint_zones.md

File metadata and controls

102 lines (78 loc) · 1.81 KB

alicloud_privatelink_vpc_endpoint_zones

back

Index

Terraform

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

top

Example Usage

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

  # endpoint_id - (required) is a type of string
  endpoint_id = null
  # output_file - (optional) is a type of string
  output_file = null
  # status - (optional) is a type of string
  status = null
}

top

Variables

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

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

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

top

Datasource

data "alicloud_privatelink_vpc_endpoint_zones" "this" {
  # endpoint_id - (required) is a type of string
  endpoint_id = var.endpoint_id
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # status - (optional) is a type of string
  status = var.status
}

top

Outputs

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

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

output "zones" {
  description = "returns a list of object"
  value       = data.alicloud_privatelink_vpc_endpoint_zones.this.zones
}

output "this" {
  value = alicloud_privatelink_vpc_endpoint_zones.this
}

top