Skip to content

Latest commit

 

History

History
105 lines (80 loc) · 2.09 KB

mongodbatlas_private_endpoint_interface_link.md

File metadata and controls

105 lines (80 loc) · 2.09 KB

mongodbatlas_private_endpoint_interface_link

back

Index

Terraform

terraform {
  required_providers {
    mongodbatlas = ">= 0.8.2"
  }
}

top

Example Usage

module "mongodbatlas_private_endpoint_interface_link" {
  source = "./modules/mongodbatlas/d/mongodbatlas_private_endpoint_interface_link"

  # interface_endpoint_id - (required) is a type of string
  interface_endpoint_id = null
  # private_link_id - (required) is a type of string
  private_link_id = null
  # project_id - (required) is a type of string
  project_id = null
}

top

Variables

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

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

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

top

Datasource

data "mongodbatlas_private_endpoint_interface_link" "this" {
  # interface_endpoint_id - (required) is a type of string
  interface_endpoint_id = var.interface_endpoint_id
  # private_link_id - (required) is a type of string
  private_link_id = var.private_link_id
  # project_id - (required) is a type of string
  project_id = var.project_id
}

top

Outputs

output "connection_status" {
  description = "returns a string"
  value       = data.mongodbatlas_private_endpoint_interface_link.this.connection_status
}

output "delete_requested" {
  description = "returns a bool"
  value       = data.mongodbatlas_private_endpoint_interface_link.this.delete_requested
}

output "error_message" {
  description = "returns a string"
  value       = data.mongodbatlas_private_endpoint_interface_link.this.error_message
}

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

output "this" {
  value = mongodbatlas_private_endpoint_interface_link.this
}

top