This message was deleted.
# general
s
This message was deleted.
m
I’m able to get other resources this way, so I don’t understand why it would fail on lambda:
Copy code
const bastionEc2Instance = aws.ec2.Instance.get("bastion-ec2", bastionInstanceId);
Looks like I had to do:
Copy code
const systemBackupLambda = aws.lambda.Function.get("system-backup-lambda", systemBackupLambdaId, {
  name: systemBackupLambdaId
});