AWS Amazon EC2 Transit Gateway Peering Attachment Accepter

This page shows how to write Terraform and CloudFormation for Amazon EC2 Transit Gateway Peering Attachment Accepter and write them securely.

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_ec2_transit_gateway_peering_attachment_accepter)

Manages the accepter's side of an EC2 Transit Gateway Peering Attachment.

Parameters

Example Usage (from GitHub)

github-icondanielmacuare/aws-net
resource "aws_ec2_transit_gateway_peering_attachment_accepter" "euw1_euw2" {
  provider = aws.eu-west-2

  transit_gateway_attachment_id = aws_ec2_transit_gateway_peering_attachment.euw1_euw2.id

  tags = {
github-iconanjanisone/Vadana-First-Task
resource "aws_ec2_transit_gateway_peering_attachment_accepter" "this" {
  transit_gateway_attachment_id = var.peering_attachment_id

  tags = var.tags
}
github-iconplus3it/terraform-aws-tardigrade-transit-gateway
resource "aws_ec2_transit_gateway_peering_attachment_accepter" "this" {
  transit_gateway_attachment_id = var.peering_attachment_id

  tags = var.tags
}
github-iconniveklabs/aws
resource "aws_ec2_transit_gateway_peering_attachment_accepter" "this" {
  tags                          = var.tags
  transit_gateway_attachment_id = var.transit_gateway_attachment_id
}

github-iconrafaelleonardocruz/tgw-example
resource "aws_ec2_transit_gateway_peering_attachment_accepter" "example" {
  provider = aws.sa-east-1

  transit_gateway_attachment_id = aws_ec2_transit_gateway_peering_attachment.us.id

  tags = {

CloudFormation Example (AWS::EC2::TransitGatewayPeeringAttachment)

Requests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter). The transit gateways must be in different Regions. The peer transit gateway can be in your account or a different AWS account.

After you create the peering attachment, the owner of the accepter transit gateway must accept the attachment request.

Parameters

Frequently asked questions

What is AWS Amazon EC2 Transit Gateway Peering Attachment Accepter?

AWS Amazon EC2 Transit Gateway Peering Attachment Accepter is a resource for Amazon EC2 of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon EC2 Transit Gateway Peering Attachment Accepter?

For Terraform, the danielmacuare/aws-net, anjanisone/Vadana-First-Task and plus3it/terraform-aws-tardigrade-transit-gateway source code examples are useful. See the Terraform Example section for further details.