aviatrix_tunnelNivis 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_name1gw_name2
Optional arguments
enable_ha(defaults tonull)id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
peering_hastatuspeering_linkpeering_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.