Name | Version |
---|---|
aws | >= 4.0 |
Name | Version |
---|---|
aws | 5.83.1 |
Name | Source | Version |
---|---|---|
iam_policy | terraform-aws-modules/iam/aws//modules/iam-policy | ~> 4.13.0 |
Name | Type |
---|---|
aws_iam_instance_profile.iam_instance_role | resource |
aws_iam_role.iam_role | resource |
aws_iam_role_policy_attachment.attach | resource |
aws_iam_policy_document.assume_role_policy | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
create_instance_profile | Whether to create the instance profile | bool |
true |
no |
custom_role_policy_arns | List of ARNs of IAM policies to attach to IAM role | list(string) |
[] |
no |
policy | The path of the policy in IAM (tpl file) | string |
"" |
no |
policy_description | The description of the policy | string |
"IAM Policy" |
no |
policy_name | The name of the policy | string |
"" |
no |
role_name | IAM role name | string |
null |
no |
tags | A map of tags to add to IAM role resources | map(string) |
{} |
no |
trusted_role_arns | ARNs of AWS entities who can assume these roles | list(string) |
[] |
no |
trusted_role_services | AWS Services that can assume these roles | list(string) |
[] |
no |
Name | Description |
---|---|
iam_instance_profile_arn | ARN of IAM instance profile |
iam_instance_profile_name | Name of IAM instance profile |
iam_policy_arn | The ARN assigned by AWS to this policy |
iam_policy_id | The policy's ID |
iam_role_arn | ARN of IAM role |
iam_role_name | Name of IAM role |