brash-painting-89833
10/19/2023, 5:35 PMpulumi:pulumi:Stack (....):
error: an unhandled error occurred: program failed:
waiting for RPCs: marshaling properties: awaiting input property "routeTableId": expected a ec2.Vpc, got a resource of type ec2.Vpc
I am basically creating a vpc using awsx and try to add a new route using regular aws ec2, but it seems they can't be converted?
Any idea on how to do this?
_, err = awsec2.NewRoute(ctx, "peer-route-us-ap", &awsec2.RouteArgs{
RouteTableId: vpcCreateddawsx.Vpc.MainRouteTableId(),
DestinationCidrBlock: pulumi.String(vpcNodeApSoutheast1NetworkCidr),
VpcPeeringConnectionId: vpcPeerUsAp.PeerVpcId,
// })
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by