Replies: 1 comment
-
I'm experiencing the same problem, albeit with a TypeScript stack and CDK 2.118.0, the cdk diff then errors out with Could not assume arn:aws:iam:::role/cdk-hnb659fds-lookup-role--eu-central-1, proceeding anyway. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In trying to upgrade an old CDK repo to v2, I've discovered a weird issue.
CDK_ENV=production cdk diff
, or any other CDK command, appears to executeapp.py
twice, and then error out because of multiple resources found from afrom_lookup
call. This doesn't happen running the same repo in staging, and it doesn't happen when running other repos that use the same context and resource lookup system.An additional discovery I made is that printing the result of
elb.ApplicationLoadBalancer.from_lookup
returns a dummy LB,arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/application/my-load-balancer/50dc6c495c0c9188
each time it's run.This repo has been deployed before (albeit years ago) so the issue shouldn't be that
cdk synth
is needed.app.py
some of sso.py
output when running any cdk command
Beta Was this translation helpful? Give feedback.
All reactions