All Projects → jeromegamez → terraform-aws-enforce-mfa

jeromegamez / terraform-aws-enforce-mfa

Licence: MIT license
A terraform module to enforce MFA for AWS groups and users

Programming Languages

HCL
1544 projects

Projects that are alternatives of or similar to terraform-aws-enforce-mfa

terraform-aws-account
🌳 A sustainable Terraform Package which creates Account & IAM resources on AWS
Stars: ✭ 18 (-25%)
Mutual labels:  aws-iam, terraform-modules, terraform-module
provose
Provose is a new way to manage your Amazon Web Services infrastructure.
Stars: ✭ 27 (+12.5%)
Mutual labels:  hashicorp-terraform, terraform-module
terraform-aws-iam-assumed-roles
Terraform Module for Assumed Roles on AWS with IAM Groups Requiring MFA
Stars: ✭ 33 (+37.5%)
Mutual labels:  mfa, terraform-modules
terraform-digitalocean-kubernetes
A terraform module for managing and creating a Kubernetes cluster on digital ocean
Stars: ✭ 11 (-54.17%)
Mutual labels:  terraform-modules, terraform-module
aws-missing-tools
Random tools I've written to make life easier using AWS, namely aws-choose-profile and aws-mfa-login
Stars: ✭ 46 (+91.67%)
Mutual labels:  aws-iam, mfa
Awesome Terraform
Curated list of resources on HashiCorp's Terraform
Stars: ✭ 2,618 (+10808.33%)
Mutual labels:  terraform-modules, hashicorp-terraform
terraform-aws-iam-system-user
Terraform Module to Provision a Basic IAM System User Suitable for CI/CD Systems (E.g. TravisCI, CircleCI)
Stars: ✭ 71 (+195.83%)
Mutual labels:  terraform-modules, terraform-module
terraform-aws-backup
Terraform module to provision AWS Backup, a fully managed backup service that makes it easy to centralize and automate the back up of data across AWS services such as EBS volumes, RDS databases, DynamoDB tables, EFS file systems, and AWS Storage Gateway volumes.
Stars: ✭ 62 (+158.33%)
Mutual labels:  terraform-modules, terraform-module
terraform-aws-elasticache-redis
A Terraform module to create an AWS Redis ElastiCache cluster.
Stars: ✭ 29 (+20.83%)
Mutual labels:  terraform-modules, terraform-module
terraform-aws-config
This module configures AWS Config, a service that enables you to assess, audit, and evaluate the configurations of your AWS resources.
Stars: ✭ 24 (+0%)
Mutual labels:  terraform-modules, terraform-module
terraform-aws-cognito-user-pool
Terraform module to create Amazon Cognito User Pools, configure its attributes and resources such as app clients, domain, resource servers. Amazon Cognito User Pools provide a secure user directory that scales to hundreds of millions of users.
Stars: ✭ 65 (+170.83%)
Mutual labels:  terraform-modules, terraform-module
terraform-templates
Terraform templates, examples, etc.
Stars: ✭ 16 (-33.33%)
Mutual labels:  terraform-modules, hashicorp-terraform
terraform-aws-ses
Terraform module to provision Simple Email Service on AWS
Stars: ✭ 24 (+0%)
Mutual labels:  terraform-module
libvirt-ocp4-provisioner
Automate your OCP4 installation
Stars: ✭ 82 (+241.67%)
Mutual labels:  hashicorp-terraform
terraform-aws-route53
A Terraform module to create a Route53 Domain Name System (DNS) on Amazon Web Services (AWS). https://aws.amazon.com/route53/
Stars: ✭ 39 (+62.5%)
Mutual labels:  terraform-modules
terraform-aws-concourse
Terraform Module for a distributed concourse cluster on AWS
Stars: ✭ 12 (-50%)
Mutual labels:  terraform-module
terraform-aws-route53-cluster-hostname
Terraform module to define a consistent AWS Route53 hostname
Stars: ✭ 44 (+83.33%)
Mutual labels:  terraform-modules
terraform-aws-ecs-fargate-task-definition
Terraform module to create AWS ECS Fargate Task Definition
Stars: ✭ 20 (-16.67%)
Mutual labels:  terraform-module
terraform-aws-lb-s3-bucket
Terraform module to provision an S3 bucket with built in IAM policy to allow AWS Load Balancers to ship access logs
Stars: ✭ 29 (+20.83%)
Mutual labels:  terraform-module
cdk-multi-profile-plugin
Adds multi profile/account, mfa and aws sso support to cdk apps
Stars: ✭ 41 (+70.83%)
Mutual labels:  mfa

AWS MFA Terraform module

Terraform module to enforce MFA for AWS groups and users.

This module implements the instructions provided in the AWS Documentation: Enable Your Users to Configure Their Own Credentials and MFA Settings.

This version of the module uses terraform v0.12.x. If you want to use a previous version of terraform please use the release 1.0.0 of this module.

Usage

resource "aws_iam_group" "mfa_group" {
  name = "MFAGroup"
}

resource "aws_iam_user" "mfa_user" {
  name = "MFAUser"
}

module "aws-enforce-mfa" {
  source = "jeromegamez/enforce-mfa/aws"
  groups = [aws_iam_group.mfa_group.name]
  users  = [aws_iam_user.mfa_user.name]
}

Module input variables

  • groups Enforce MFA for the members in these groups (Default: [])
  • users Enforce MFA for these users (Default: [])
  • allow_password_change_without_mfa (Default: false)

License

MIT licensed. See LICENSE for full details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].