Skip to content

Latest commit

 

History

History
168 lines (137 loc) · 3.42 KB

alicloud_privatelink_vpc_endpoints.md

File metadata and controls

168 lines (137 loc) · 3.42 KB

alicloud_privatelink_vpc_endpoints

back

Index

Terraform

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

top

Example Usage

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

  # connection_status - (optional) is a type of string
  connection_status = null
  # enable_details - (optional) is a type of bool
  enable_details = null
  # ids - (optional) is a type of list of string
  ids = []
  # name_regex - (optional) is a type of string
  name_regex = null
  # output_file - (optional) is a type of string
  output_file = null
  # service_name - (optional) is a type of string
  service_name = null
  # status - (optional) is a type of string
  status = null
  # vpc_endpoint_name - (optional) is a type of string
  vpc_endpoint_name = null
  # vpc_id - (optional) is a type of string
  vpc_id = null
}

top

Variables

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

variable "enable_details" {
  description = "(optional)"
  type        = bool
  default     = null
}

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

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

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

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

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

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

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

top

Datasource

data "alicloud_privatelink_vpc_endpoints" "this" {
  # connection_status - (optional) is a type of string
  connection_status = var.connection_status
  # enable_details - (optional) is a type of bool
  enable_details = var.enable_details
  # ids - (optional) is a type of list of string
  ids = var.ids
  # name_regex - (optional) is a type of string
  name_regex = var.name_regex
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # service_name - (optional) is a type of string
  service_name = var.service_name
  # status - (optional) is a type of string
  status = var.status
  # vpc_endpoint_name - (optional) is a type of string
  vpc_endpoint_name = var.vpc_endpoint_name
  # vpc_id - (optional) is a type of string
  vpc_id = var.vpc_id
}

top

Outputs

output "endpoints" {
  description = "returns a list of object"
  value       = data.alicloud_privatelink_vpc_endpoints.this.endpoints
}

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

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

output "names" {
  description = "returns a list of string"
  value       = data.alicloud_privatelink_vpc_endpoints.this.names
}

output "this" {
  value = alicloud_privatelink_vpc_endpoints.this
}

top