aws_ec2_transit_gateway_peering_attachmentNivis Nix constructor for the aws_ec2_transit_gateway_peering_attachment 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,
peer_region,
peer_transit_gateway_id,
transit_gateway_id,
id ? null,
peer_account_id ? null,
region ? null,
tags ? null,
tags_all ? null,
options ? null,
overrides ? {}
}Required arguments
peer_regionpeer_transit_gateway_idtransit_gateway_id
Optional arguments
id(defaults tonull)peer_account_id(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)options(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnstate
Example
aws_ec2_transit_gateway_peering_attachment {
name = "ec2_transit_gateway_peering_attachment";
peer_region = …; # required
peer_transit_gateway_id = …; # required
transit_gateway_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.