{"id":19508871,"url":"https://github.com/rhythmictech/terraform-aws-transitgateway","last_synced_at":"2026-05-12T21:33:27.689Z","repository":{"id":59996386,"uuid":"203850667","full_name":"rhythmictech/terraform-aws-transitgateway","owner":"rhythmictech","description":"Manage a Transit Gateway resource. Supports RAM.","archived":false,"fork":false,"pushed_at":"2022-09-23T16:07:21.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T11:40:59.758Z","etag":null,"topics":["aws","networking","terraform","terraform-module","transit-gateway"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/rhythmictech/transitgateway/aws","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhythmictech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-08-22T18:25:37.000Z","updated_at":"2022-09-23T15:51:13.000Z","dependencies_parsed_at":"2022-09-23T17:41:13.644Z","dependency_job_id":null,"html_url":"https://github.com/rhythmictech/terraform-aws-transitgateway","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-transitgateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-transitgateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-transitgateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-transitgateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhythmictech","download_url":"https://codeload.github.com/rhythmictech/terraform-aws-transitgateway/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240761093,"owners_count":19853254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","networking","terraform","terraform-module","transit-gateway"],"created_at":"2024-11-10T23:10:11.126Z","updated_at":"2026-05-12T21:33:27.634Z","avatar_url":"https://github.com/rhythmictech.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-transitgateway\n\nManage a [Transit Gateway](https://docs.aws.amazon.com/vpc/latest/tgw/what-is-transit-gateway.html). Supports using Resource Access Manager to share a Transit Gateway across multiple accounts.\n\n```\nmodule \"tgw\" {\n  source             = \"git::https://github.com/rhythmictech/terraform-aws-transitgateway\"\n  amazon_side_asn    = 65400\n  description        = \"example\"\n  subnet_ids         = module.vpc.private_subnets\n  vpc_id             = module.vpc.vpc_id\n}\n```\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.14 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 3.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 3.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_ec2_transit_gateway.tgw](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_transit_gateway) | resource |\n| [aws_ec2_transit_gateway_vpc_attachment.tgw_attach](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_transit_gateway_vpc_attachment) | resource |\n| [aws_ram_principal_association.tgw_ram_principal](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association) | resource |\n| [aws_ram_resource_association.tgw_ram_resource](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_association) | resource |\n| [aws_ram_resource_share.tgw_share](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_share) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_allow_external_principals\"\u003e\u003c/a\u003e [allow\\_external\\_principals](#input\\_allow\\_external\\_principals) | Allow resources to be shared outside of your AWS org | `bool` | `false` | no |\n| \u003ca name=\"input_amazon_side_asn\"\u003e\u003c/a\u003e [amazon\\_side\\_asn](#input\\_amazon\\_side\\_asn) | Amazon Side ASN | `number` | n/a | yes |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | Description used in Transit Gateway | `string` | n/a | yes |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name of transit gateway and related resources | `string` | `\"tgw\"` | no |\n| \u003ca name=\"input_resource_share_accounts\"\u003e\u003c/a\u003e [resource\\_share\\_accounts](#input\\_resource\\_share\\_accounts) | Accounts to share gateway with (leave blank for none) | `list(string)` | `[]` | no |\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | Subnets to create transit gateway in (must use one subnet for every AZ you wish to use the tgw in) | `list(string)` | `[]` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to add to any resources that support it | `map(string)` | `{}` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | VPC to create transit gateway in | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_transit_gateway\"\u003e\u003c/a\u003e [transit\\_gateway](#output\\_transit\\_gateway) | Transit Gateway Resource |\n| \u003ca name=\"output_transit_gateway_id\"\u003e\u003c/a\u003e [transit\\_gateway\\_id](#output\\_transit\\_gateway\\_id) | ID of Transit Gateway |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Related Projects\n* [Transit Gateway Route CIDR](https://github.com/rhythmictech/terraform-aws-transitgateway-route-cidr)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-transitgateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhythmictech%2Fterraform-aws-transitgateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-transitgateway/lists"}