https://pulumi.com logo
#general
Title
# general
b

big-nail-28315

09/04/2019, 1:54 AM
g

gentle-diamond-70147

09/04/2019, 5:47 AM
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

big-nail-28315

09/04/2019, 11:55 AM
Thanks!
looks like creating PeerConnectionOptions is unnecessary
ugh…same issue
i must be doing something else wrong