Coder Social home page Coder Social logo

terraform-mongodbatlas-vpc-peering's Introduction

MongoDB Atlas VPC Peering module

This module creates an MongoDB Atlas VPC peering.

Usage

module "mongodbatlas_vpc_peering" {
  source  = "KeisukeYamashita/terraform-mongodbatlas-vpc-peering"
  version = "~> 1.0"

  region     = "US_EAST_1"
  project_id = local.project_id
  cidr_block = "10.8.0.0/21"

  target_cidr_block  = "10.20.0.0/21"
  target_region_name = "ap-northeast-1"
  target_vpc_id      = "vpc-abc123abc123"
  target_account_id  = "abc123abc123"
}

Requirements

Name Version
terraform >= 0.12.0, < 0.14
mongodbatlas >= 0.6, < 1.0

Inputs

Name Description Type Default Required
region Region of the MondoDB string null yes
project_id ID of the MongoDB Atlas project string null yes
cidr_block CIDR block of the MongoDB string null yes
target_cidr_block ID of the peering target string null yes
target_region_name Name of the target region string null yes
target_vpc_id ID of the target AWS VPC string null yes
target_account_id ID of the target AWS account string null yes

Outputs

Name Description Type
vpc_peering_id ID of the VPC peering string

Author

License

Apache 2.0 Licensed. See LICENSE for full details.

terraform-mongodbatlas-vpc-peering's People

Contributors

keisukeyamashita avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.