Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.21 KB

mongodbatlas_private_ip_mode.md

File metadata and controls

81 lines (60 loc) · 1.21 KB

mongodbatlas_private_ip_mode

back

Index

Terraform

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

top

Example Usage

module "mongodbatlas_private_ip_mode" {
  source = "./modules/mongodbatlas/r/mongodbatlas_private_ip_mode"

  # enabled - (required) is a type of bool
  enabled = null
  # project_id - (required) is a type of string
  project_id = null
}

top

Variables

variable "enabled" {
  description = "(required)"
  type        = bool
}

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

top

Resource

resource "mongodbatlas_private_ip_mode" "this" {
  # enabled - (required) is a type of bool
  enabled = var.enabled
  # project_id - (required) is a type of string
  project_id = var.project_id
}

top

Outputs

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

output "this" {
  value = mongodbatlas_private_ip_mode.this
}

top