aws_ec2_local_gateway_routeNivis Nix constructor for the aws_ec2_local_gateway_route 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,
destination_cidr_block,
local_gateway_route_table_id,
local_gateway_virtual_interface_group_id,
id ? null,
region ? null,
overrides ? {}
}Required arguments
destination_cidr_blocklocal_gateway_route_table_idlocal_gateway_virtual_interface_group_id
Optional arguments
id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_ec2_local_gateway_route {
name = "ec2_local_gateway_route";
destination_cidr_block = …; # required
local_gateway_route_table_id = …; # required
local_gateway_virtual_interface_group_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.