![Opstree Solutions](https://camo.githubusercontent.com/d3b636e55aa82bd7be2ddf60a9af36dd740230be39783bfe2eac303323f29c91/68747470733a2f2f696d672e636c6f7564706f7373652e636f6d2f313530783135302f68747470733a2f2f6769746875622e636f6d2f6f7073747265652e706e67)
Opstree Solutions
- This repository consists of the Terraform module for AWS VPC Peering Service with in & cross region.
- This project is a part of opstree's ot-aws initiative for terraform modules.
$ cat main.tf
/*-------------------------------------------------------*/
module "aws_vpc_peering" {
source = "../aws-vpc-peering"
requester_region = "us-east-1"
acceptor_region = "us-east-1"
requester_vpc_cidr = "10.0.0.0/16"
acceptor_vpc_cidr = "172.31.0.0/16"
vpc_peering_connection_requester_name = "requester"
vpc_peering_connection_acceptor_name = "acceptor"
}
/*-------------------------------------------------------*/
$ cat output.tf
/*-------------------------------------------------------*/
output "vpc_peering_id" {
value = module.aws_vpc_peering.id
}
/*-------------------------------------------------------*/
Name |
Description |
Type |
Default |
Required |
requester_region |
The region of the requester VPC. |
string |
us-east-1 |
yes |
accepter_region |
The region of the accepter VPC. |
string |
us-east-1 |
yes |
requester_vpc_cidr |
The CIDR of the requester VPC. |
string |
10.0.0.0/16 |
yes |
accepter_vpc_cidr |
The CIDR of the accepter VPC. |
string |
172.31.0.0/16 |
yes |
vpc_peering_connection_requester_name |
The NAME of the requester VPC peering connection. |
string |
requester |
yes |
vpc_peering_connection_accepter_name |
The NAME of the accepter VPC peering connection. |
string |
accepter |
yes |
Name |
Description |
id |
The ID of the VPC Peering Connection |
Check out these related projects.
- network_skeleton - Terraform module for providing a general purpose Networking solution
- security_group - Terraform module for creating dynamic Security groups
- eks - Terraform module for creating elastic kubernetes cluster.
- HA_ec2_alb - Terraform module for creating a Highly available setup of an EC2 instance with quick disater recovery.
- HA_ec2 - Terraform module for creating a Highly available setup of an EC2 instance with quick disater recovery.
- rolling_deployment - This terraform module will orchestrate rolling deployment.
![Shweta Tyagi](https://camo.githubusercontent.com/6f87742f1b8c6fdbf6c1666996da445ad1900bc40e5f619ab18d5d4fb9f287a0/68747470733a2f2f696d672e636c6f7564706f7373652e636f6d2f37357837352f68747470733a2f2f6769746875622e636f6d2f73687765746174796167692d6f742e706e67)
Shweta Tyagi