big-nail-28315
09/04/2019, 1:54 AMgentle-diamond-70147
09/04/2019, 5:47 AMpeerOwnerId
on the VpcPeeringConnection
. Here's an example from a config I know works:
const peering = new aws.ec2.VpcPeeringConnection(`${this.name}-peer-to-${peerName}`, {
vpcId: this.vpc.id,
peerVpcId: args.peerVpc.vpc.id,
peerOwnerId: peerOwner,
autoAccept: true,
accepter: {
allowRemoteVpcDnsResolution: true,
},
tags: {
...this.baseTags,
Name: args.nameTag,
},
});
big-nail-28315
09/04/2019, 11:55 AM