Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 2.3 KB

File metadata and controls

29 lines (25 loc) · 2.3 KB

Inputs

Name Description Type Default Required
attributes Additional attributes (e.g. 1). list(any) [] no
description Description of IAM Role. string "The role to grant permissions to this account to delegated IAM users in the master account." no
enabled Enabled to create module or not. bool true no
environment Environment (e.g. prod, dev, staging). string "" no
force_detach_policies (Optional) Specifies to force detaching any policies the role has before destroying it. Defaults to false bool false no
label_order Label order, e.g. name,application. list(any) [] no
managedby ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'. string "[email protected]" no
master_account_user The ID of the master account to Read Only Access the current account. string n/a yes
max_session_duration - (Optional) The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours. string "3600" no
name Name (e.g. app or cluster). string "" no
policy Policy ARN to attach to the role. By default it attaches AdministratorAccess managed policy to grant full access to AWS services and resources in the current account. string "" no
policy_arn Policy ARN to attach to the role. By default it attaches AdministratorAccess managed policy to grant full access to AWS services and resources in the current account. list(string) [] no
policy_enabled Enabled to create module or not. bool false no
repository Terraform current module repo string "https://github.com/clouddrove/terraform-aws-cross-account-role" no
tags Additional tags (e.g. map(BusinessUnit,XYZ). map(string) {} no

Outputs

Name Description
role_arn The Amazon Resource Name (ARN) specifying the role.
role_id The stable and unique string identifying the role.
role_name The name of the crated role.
tags A mapping of tags to assign to the resource.