aws_vpc_peering_connectionNivis Nix constructor for the aws_vpc_peering_connection 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,
peer_vpc_id,
vpc_id,
auto_accept ? null,
id ? null,
peer_owner_id ? null,
peer_region ? null,
region ? null,
tags ? null,
tags_all ? null,
accepter ? null,
requester ? null,
timeouts ? null,
overrides ? {}
}Required arguments
peer_vpc_idvpc_id
Optional arguments
auto_accept(defaults tonull)id(defaults tonull)peer_owner_id(defaults tonull)peer_region(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)accepter(defaults tonull)requester(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
accept_status
Example
aws_vpc_peering_connection {
name = "vpc_peering_connection";
peer_vpc_id = …; # required
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.