Name | Version |
---|---|
terraform | >= 0.13 |
aws | >= 3.0.0 |
Name | Version |
---|---|
aws | >= 3.0.0 |
No modules.
Name | Type |
---|---|
aws_iam_instance_profile.instance_profile | resource |
aws_iam_role.iam_role | resource |
aws_iam_role_policy.inline_policies | resource |
aws_iam_role_policy_attachment.managed_policy_attachments | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
assume_role_policy | Assume role policy document | string |
n/a | yes |
role_name | Name of the IAM role | string |
n/a | yes |
aws_profile | Selected AWS profile | string |
null |
no |
aws_region | Specified AWS region | string |
null |
no |
create_instance_profile | Whether to create an instance profile or not | bool |
false |
no |
inline_policies | List of inline policy documents | list(string) |
[] |
no |
instance_profile_name | Name of the instance profile | string |
null |
no |
managed_policy_arns | List of managed policy ARNs | list(string) |
[] |
no |
max_session_duration | Maximum session duration for the IAM role | number |
null |
no |
path | Path for the IAM role | string |
null |
no |
permissions_boundary | Permissions boundary for the role | string |
null |
no |
role_description | Description of the IAM role | string |
null |
no |
tags | Tags for the IAM role | map(string) |
{} |
no |
Name | Description |
---|---|
iam_instance_profile_arn | ARN of the instance profile |
iam_role_arn | ARN of the IAM role |
iam_role_assume_role_policy | IAM assume role policy associated with the role |
iam_role_description | Description of the IAM role |
iam_role_inline_policies | Inline policies attached to the IAM role |
iam_role_managed_policy_arns | Managed policy ARNs attached to the IAM role |
iam_role_max_session_duration | Maximum session duration for the IAM role |
iam_role_name | Name of the IAM role |
iam_role_path | Path of the IAM role |
iam_role_permissions_boundary | Permissions boundary for the IAM role |
iam_role_tags | Tags for the IAM role |