Creates a role that can be assumed by another principal (usually in another account, but could be user or role) to act as that role with permissions from the attached policies.
This is the TRUSTING side. You will still need to create a policy on the TRUSTED side that allows users in that account to assume the role
module "iam_role_cross_account_trusting_admin" {
source = "StratusGrid/iam-role-cross-account-trusting/aws"
version = "2.0.0"
role_name = "cross-account-role-admin"
principal_arns = ["arn:aws:iam::ACCOUNT_ID:root"]
policy_arns = ["arn:aws:iam::aws:policy/AdministratorAccess"]
input_tags = merge(local.common_tags, {})
require_mfa = false
}