b
g
You might need to also specify
peerOwnerId
on the
VpcPeeringConnection
. Here's an example from a config I know works:
Copy code
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,
    },
});
b
Thanks!
looks like creating PeerConnectionOptions is unnecessary
ugh…same issue
i must be doing something else wrong