Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 3.38 KB

README.md

File metadata and controls

53 lines (42 loc) · 3.38 KB

Requirements

Name Version
aws >= 4.0

Providers

Name Version
aws 5.83.1

Modules

Name Source Version
iam_policy terraform-aws-modules/iam/aws//modules/iam-policy ~> 4.13.0

Resources

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

Inputs

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

Outputs

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