Skip to content

Latest commit

 

History

History

aws-mfa-policy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

AWS Multi-Factor Authentication Policy

This module creates IAM policy which blocks all actions if user is not authenticated using MFA.

Requirements

Name Version
terraform >= 1.0
aws >= 4.0, < 5.0

Providers

Name Version
aws >= 4.0, < 5.0

Modules

No modules.

Resources

Name Type
aws_iam_policy.authorization resource
aws_iam_policy_document.authorization data source

Inputs

Name Description Type Default Required
authorization_policy_path_prefix Path that applies to all users in authorization policy. Must end with '/'. It's used to create Resource like 'arn:aws:iam::*:user/authorization_policy_path_prefix/${aws:username}'. string "" no
name Policy name string "Authorization" no

Outputs

Name Description
policy_arn n/a