aws_ec2_transit_gateway_connect_peer

Nivis Nix constructor for the aws_ec2_transit_gateway_connect_peer resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  inside_cidr_blocks,
  peer_address,
  transit_gateway_attachment_id,
  bgp_asn ? null,
  id ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  transit_gateway_address ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • inside_cidr_blocks
  • peer_address
  • transit_gateway_attachment_id
Optional arguments
  • bgp_asn (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • transit_gateway_address (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • bgp_peer_address
  • bgp_transit_gateway_addresses
Example
aws_ec2_transit_gateway_connect_peer {
  name = "ec2_transit_gateway_connect_peer";
  inside_cidr_blocks = …;  # required
  peer_address = …;  # required
  transit_gateway_attachment_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.