Skip to content

Latest commit

 

History

History
122 lines (96 loc) · 2.39 KB

alicloud_privatelink_vpc_endpoint_connections.md

File metadata and controls

122 lines (96 loc) · 2.39 KB

alicloud_privatelink_vpc_endpoint_connections

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

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

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

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

top

Datasource

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

top

Outputs

output "connections" {
  description = "returns a list of object"
  value       = data.alicloud_privatelink_vpc_endpoint_connections.this.connections
}

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

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

output "this" {
  value = alicloud_privatelink_vpc_endpoint_connections.this
}

top