vpcpeering

FlexibleEngineCloud/vpcpeering/flexibleengine

Terraform Module HCL FLEXIBLEENGINE ⏱ stale 4y 11mo

Terraform module which creates VPC Peering between two VPC

Install

module "vpcpeering" {
source = "FlexibleEngineCloud/vpcpeering/flexibleengine"
version = "2.0.2"
}
⭐ Source on GitHub 📦 Registry page

README

Flexible Engine Peering Terraform Module Terraform module which creates peering between VPC on Flexible Engine. Usage : Terraform This module requires that many providers are created in terraform environment description. In case VPC are in the same tenant, don't forget to set same_tenant to true in module calling. Example with 2 providers: ``hcl provider "flexibleengine" { alias = "tenant_stage" user_id = "xxx" password = "foo_bar" tenant_id = var.tenant_id_tenant_stage auth_url = var.auth_url region = var.region } provider "flexibleengine" { alias = "tenant_prod" user_id = "xxx" password = "foo_bar" tenant_id = var.tenant_id_tenant_prod auth_url = var.auth_url region = var.region } ` Example of module call: `hcl module "peering_stage_prod" { source = "terraform-flexibleengine-modules/vpcp

Inputs (9)

NameTypeDescriptionDefault
vpc_req_namestringName of the requester's VPC required
vpc_acc_idstringID of accepter's VPC required
vpc_req_idstringID of the requester's VPC required
vpc_acc_namestringName of accepter's VPC required
req_subnet_cidrlistlist of requester's subnet CIDR[]
acc_subnet_cidrlistlist of accepter's subnet CIDR[]
peer_namestringName of the peering connection""
tenant_acc_idstringtenant ID of the accepter""
same_tenantstringIndicates VPC are in the same tenantfalse

Outputs (1)

peering_id — ID of the created peering

Resources (3)

flexibleengine_vpc_peering_connection_accepter_v2flexibleengine_vpc_peering_connection_v2flexibleengine_vpc_route_v2

Topics & Tags

terraform-module

Details

FrameworkTerraform Module
LanguageHCL
Version2.0.2
Cloud FLEXIBLEENGINE
★ Stars0
Forks1
Total downloads1.4k
Inputs9
Outputs1
Resources3
Examples2
LicenseApache-2.0
NamespaceFlexibleEngineCloud
Updated