IAM Role
An IAM (Identity and Access Management) Role is a cloud resource within AWS that defines a set of permissions for making AWS service requests. It is used to grant permissions to entities you trust (like users in your account, other AWS accounts, or a web identity provider). An IAM role does not have credentials; instead, entities assume an IAM role to receive a temporary set of permissions. For more detailed information, visit the official AWS IAM role documentation.
Terraform Mappings:
aws_iam_role.arn
Supported Methods​
GET
: Get an IAM role by nameLIST
: List all IAM rolesSEARCH
: Search for IAM roles by ARN
Possible Links​
iam-policy
​
An IAM Role is often associated with IAM Policies. The policies define the permissions and can be attached to the IAM role, allowing entities assuming that role to perform specified actions on designated AWS resources. This relationship is crucial for managing permissions and access control effectively in AWS environments.