Skip to content

Latest commit

 

History

History
92 lines (68 loc) · 1.49 KB

mongodbatlas_auditing.md

File metadata and controls

92 lines (68 loc) · 1.49 KB

mongodbatlas_auditing

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

top

Datasource

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

top

Outputs

output "audit_authorization_success" {
  description = "returns a bool"
  value       = data.mongodbatlas_auditing.this.audit_authorization_success
}

output "audit_filter" {
  description = "returns a string"
  value       = data.mongodbatlas_auditing.this.audit_filter
}

output "configuration_type" {
  description = "returns a string"
  value       = data.mongodbatlas_auditing.this.configuration_type
}

output "enabled" {
  description = "returns a bool"
  value       = data.mongodbatlas_auditing.this.enabled
}

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

output "this" {
  value = mongodbatlas_auditing.this
}

top