aws_main_route_table_association

Nivis Nix constructor for the aws_main_route_table_association 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,
  route_table_id,
  vpc_id,
  id ? null,
  region ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • route_table_id
  • vpc_id
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • original_route_table_id
Example
aws_main_route_table_association {
  name = "main_route_table_association";
  route_table_id = …;  # required
  vpc_id = …;  # required
}

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