aws_ec2_transit_gateway_vpc_attachment

Nivis 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_ids
  • transit_gateway_id
  • vpc_id
Optional arguments
  • appliance_mode_support (defaults to null)
  • dns_support (defaults to null)
  • id (defaults to null)
  • ipv6_support (defaults to null)
  • region (defaults to null)
  • security_group_referencing_support (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • transit_gateway_default_route_table_association (defaults to null)
  • transit_gateway_default_route_table_propagation (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • vpc_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.