This message was deleted.
# pulumi-cdk
s
This message was deleted.
m
Were you able to resolve this? I just tried this myself, and I was able to find a VPC with what looks like the same code using an ID I know exists.
Ohh, wait — I think I see what you mean now — the ARN of the looked-up VPC has
vpc-12345
tacked onto the end.
Looks like this may be a CDK issue. Digging a bit.
Yeah — if you Google “vpc-12345”, you’ll see this mentioned in several CDK GitHub issues. 🤔
Not clear what the workaround would be here, though, since that
ApplicationLoadBalancedFargateService
needs a CDK
IVpc
. Curious what you came up with, if anything!
c
It's quite odd because the exact same code works with CDK and I even tried copying over the
cdk.context.json
that it generated to the Pulumi project and it didn't work so something must be preventing these context lookups. But as a workaround, the
fromVpcAttributes
works but it's not nearly as convenient as
fromLookup
. I also suspect that other modules that have their own
fromLookup
method might fail for the same reasons