tgw
DrFaust92/tgw/aws
Terraform module which creates TGW resources on AWS
AWS TGW Terraform module Terraform module which creates Transit Gateway resources on AWS. Usage ``hcl module "vpc" { source = "terraform-aws-modules/vpc/aws" name = "my-vpc" cidr = "10.0.0.0/16" azs = ["eu-west-1a", "eu-west-1b", "eu-west-1c"] private_subnets = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] tags = { Terraform = "true" Environment = "dev" } } module "tgw" { source = "DrFaust92/tgw/aws" name = "my-tgw" auto_accept_attachments = true tags = { Terraform = "true" Environment = "dev" } } resource "aws_ec2_transit_gateway_vpc_attachment" "tgw-vpc-att" { subnet_ids = "${module.vpc.private_subnets}" transit_gateway_id = "${module.tgw.tgw_id}" vpc_id = "${module.vpc.vpc_id}" } ` External Accounts When Accounts are not in the same Organization or RAM Sharing with AWS Organizations is
| Name | Type | Description | Default |
|---|---|---|---|
| enable_default_route_table_association | string | Whether resource attachments are automatically associated with the default assoc | true |
| create_tgw | string | Controls if TGW should be created (it affects almost all resources) | true |
| name | string | Name to be used on all the resources as identifier | "" |
| enable_dns_support | string | Should be true to enable DNS support in the TGW | true |
| amazon_side_asn | string | The Autonomous System Number (ASN) for the Amazon side of the gateway. By defaul | "64512" |
| tags | map | A map of tags to add to all resources | {} |
| auto_accept_attachments | string | Whether resource attachment requests are automatically accepted | false |
| ram_tags | map | Additional tags for the RAM | {} |
| allow_external_principals | string | Should be true to enable Allow External Principals | false |
| ram_share_principals | list | A list of principals to share TGW with. Possible values are an AWS account ID, a | [] |
| tgw_tags | map | Additional tags for the TGW | {} |
| enable_default_route_table_propagation | string | Whether resource attachments automatically propagate routes to the default propa | true |
| tgw_route_table_tags | map | Additional tags for the TGW route table | {} |
| share_tgw | string | Whether to share your transit gateway with other accounts | true |
tgw_route_table_id — The ID of the TGW route tableram_share_id — The ID of the RAM Shareram_share_arn — The ARN of the RAM Shareram_resource_association_id — The ID of the RAM Resource Associationram_principal_association_ids — Map of Principal of to the RAM Principal Association IDtgw_id — The ID of the TGWtgw_arn — The ARN of the TGWAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,