aviatrix_aws_peer

Nivis Nix constructor for the aviatrix_aws_peer 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,
  account_name1,
  account_name2,
  vpc_id1,
  vpc_id2,
  vpc_reg1,
  vpc_reg2,
  id ? null,
  rtb_list1 ? null,
  rtb_list2 ? null,
  overrides ? {}
}
Required arguments
  • account_name1
  • account_name2
  • vpc_id1
  • vpc_id2
  • vpc_reg1
  • vpc_reg2
Optional arguments
  • id (defaults to null)
  • rtb_list1 (defaults to null)
  • rtb_list2 (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aviatrix_aws_peer {
  name = "aws_peer";
  account_name1 = …;  # required
  account_name2 = …;  # required
  vpc_id1 = …;  # required
  vpc_id2 = …;  # required
  vpc_reg1 = …;  # required
  vpc_reg2 = …;  # required
}

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