aws_ec2_transit_gateway_vpc_attachmentNivis Nix constructor for the aws_ec2_transit_gateway_vpc_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,
subnet_ids,
transit_gateway_id,
vpc_id,
appliance_mode_support ? null,
dns_support ? null,
id ? null,
ipv6_support ? null,
region ? null,
security_group_referencing_support ? null,
tags ? null,
tags_all ? null,
transit_gateway_default_route_table_association ? null,
transit_gateway_default_route_table_propagation ? null,
overrides ? {}
}Required arguments
subnet_idstransit_gateway_idvpc_id
Optional arguments
appliance_mode_support(defaults tonull)dns_support(defaults tonull)id(defaults tonull)ipv6_support(defaults tonull)region(defaults tonull)security_group_referencing_support(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)transit_gateway_default_route_table_association(defaults tonull)transit_gateway_default_route_table_propagation(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnvpc_owner_id
Example
aws_ec2_transit_gateway_vpc_attachment {
name = "ec2_transit_gateway_vpc_attachment";
subnet_ids = …; # required
transit_gateway_id = …; # required
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.