{"id":14957776,"url":"https://github.com/jeromegamez/terraform-aws-enforce-mfa","last_synced_at":"2025-08-01T14:05:27.936Z","repository":{"id":143099263,"uuid":"130242339","full_name":"jeromegamez/terraform-aws-enforce-mfa","owner":"jeromegamez","description":"A terraform module to enforce MFA for AWS groups and users","archived":false,"fork":false,"pushed_at":"2019-11-22T01:02:18.000Z","size":7,"stargazers_count":24,"open_issues_count":1,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T01:11:17.007Z","etag":null,"topics":["aws","aws-iam","hashicorp-terraform","mfa","terraform","terraform-module","terraform-modules"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/jeromegamez/enforce-mfa","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeromegamez.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jeromegamez"}},"created_at":"2018-04-19T16:17:50.000Z","updated_at":"2023-11-16T21:40:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef2434be-34f3-437b-9519-0f812eebe5e4","html_url":"https://github.com/jeromegamez/terraform-aws-enforce-mfa","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"22c571babc3187ee5b32cd7bf46d86dea21a8fd1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromegamez%2Fterraform-aws-enforce-mfa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromegamez%2Fterraform-aws-enforce-mfa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromegamez%2Fterraform-aws-enforce-mfa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromegamez%2Fterraform-aws-enforce-mfa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeromegamez","download_url":"https://codeload.github.com/jeromegamez/terraform-aws-enforce-mfa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237964477,"owners_count":19394407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-iam","hashicorp-terraform","mfa","terraform","terraform-module","terraform-modules"],"created_at":"2024-09-24T13:15:33.882Z","updated_at":"2025-02-09T14:31:32.687Z","avatar_url":"https://github.com/jeromegamez.png","language":"HCL","funding_links":["https://github.com/sponsors/jeromegamez"],"categories":[],"sub_categories":[],"readme":"# AWS MFA Terraform module\n\nTerraform module to enforce MFA for AWS groups and users.\n\nThis module implements the instructions provided in the AWS Documentation: [Enable Your Users to Configure Their Own Credentials and MFA Settings](https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_users-self-manage-mfa-and-creds.html).\n\nThis 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](https://registry.terraform.io/modules/jeromegamez/enforce-mfa/aws/1.0.0) of this module.\n\n## Usage\n\n```tf\n\nresource \"aws_iam_group\" \"mfa_group\" {\n  name = \"MFAGroup\"\n}\n\nresource \"aws_iam_user\" \"mfa_user\" {\n  name = \"MFAUser\"\n}\n\nmodule \"aws-enforce-mfa\" {\n  source = \"jeromegamez/enforce-mfa/aws\"\n  groups = [aws_iam_group.mfa_group.name]\n  users  = [aws_iam_user.mfa_user.name]\n}\n```\n\n## Module input variables\n\n- `groups` Enforce MFA for the members in these groups (Default: _[]_)\n- `users` Enforce MFA for these users (Default: _[]_)\n- `allow_password_change_without_mfa` (Default: _false_)\n\n## License\n\nMIT licensed. See LICENSE for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromegamez%2Fterraform-aws-enforce-mfa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeromegamez%2Fterraform-aws-enforce-mfa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromegamez%2Fterraform-aws-enforce-mfa/lists"}