How should the developer configure the permissions to adhere to the principle of least privilege?

1 Comment

  1. Austin
    Author

    I systematize that the answer is:
    Create an IAM role in the development accounts. Add the ec2:DescribeInstances permission to the role. Establish a trust relationship with the shared account for this role. Update the Lambda function IAM role in the shared account by adding the iam:AssumeRole permissions.

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × three =