Skip to content

BorisLabs/terraform-aws-iam

Repository files navigation

Requirements

Name Version
terraform >= 0.12

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
assume_role_policy Trust Relationship for the role Drives the creation of the role and attach entities string "" no
attach_policy_to_different_role Flag to allow attaching created policies to a different role bool false no
attach_policy_to_group Flag to allow attaching policies to an already existing IAM Group bool false no
boundary_name Name of the boundary Policy string "Default-Boundary-Policy" no
boundary_path The path where the boundary is stored string "/boundary/" no
boundary_policy The iam_policy_document works with create_boundary string "" no
create_boundary Creates a Policy boundary from a data structure bool false no
create_group Ability to create a group if you require bool false no
create_role Flag to allow disabling role disabled bool true no
global_policies IAM Policies that are not specific to a particular Role list(string) [] no
global_policy_description Description for policy list(string) [] no
global_policy_names Names of each Global Policy to create list(string) [] no
group_name Name of Group to Attach a policy to string "" no
iam_instance_profile IAM Instance profile or not bool false no
iam_path IAM Policy Path string "" no
inline_policies_to_create Creates an inline policy to a the role map(string) {} no
max_session_duration The maximum session duration in seconds that you want for the role. number 3600 no
permission_boundary Policy Arn to attach as a permission boundary string "" no
policies_to_attach Additional Policy Arns that you can attach to your role policy list(string) [] no
policies_to_create IAM Policy to create and attach to the role supports multiple map(string) {} no
policy_count Number of policies to create. ### Deprecated ### No longer required. Module reworked number 0 no
role_description Description to associate with role string "" no
role_name Name of IAM Role to Create or IAM Policy name string "" no
role_to_attach_policies_to A role name that you want to attach the policies you create to string "" no
tags Tags that need to be assigned to resources map(string) {} no

Outputs

Name Description
group_id n/a
group_name n/a
iam_instance_profile n/a
iam_instance_profile_arn n/a
iam_policies_arn n/a
iam_policies_names n/a
iam_policy_attachment n/a
iam_role_arn n/a
iam_role_name n/a