station
station

Reputation: 7145

Lambda to create EC2 machine using boto3

I am using lambda to create ec2 machine using boto3. I need to give the instance an IAM role. In boto3 we give the IAM role via InstanceProfiles but when we create a role that has access to Lambda no instance profiles come up.

So how do we achieve this?

Upvotes: 0

Views: 78

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269861

You would need to:

Upvotes: 1

Related Questions