aviatrix_tunnel

Nivis Nix constructor for the aviatrix_tunnel resource (provider aviatrix). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  gw_name1,
  gw_name2,
  enable_ha ? null,
  id ? null,
  overrides ? {}
}
Required arguments
  • gw_name1
  • gw_name2
Optional arguments
  • enable_ha (defaults to null)
  • id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • peering_hastatus
  • peering_link
  • peering_state
Example
aviatrix_tunnel {
  name = "tunnel";
  gw_name1 = …;  # required
  gw_name2 = …;  # required
}

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