terraform-aws-modules / terraform-aws-iam

Terraform module to create AWS IAM resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/iam/aws
Apache License 2.0
787 stars 997 forks source link

fix!: Defaults `false` for `enable_mfa_enforcement` for IAM groups #510

Open claytonchew opened 2 months ago

claytonchew commented 2 months ago

Description

Resolves #509

Defaults enable_mfa_enforcement to false as it should be an opt-in feature.

Motivation and Context

Users migrating from older version (example version 5.3.1) to current version may find that IAM groups users with attach_iam_self_management_policy set to true suddenly lose access to their consoles, which can cause more harm than good.

Breaking Changes

This change should maintain backward compatibility for users migrating from versions prior to 5.14.3. However, users having versions 5.14.3 and beyond may find that MFA enforcement no longer being enforced by default, requiring enable_mfa_enforcement to be explicitly set to true.

How Has This Been Tested?

github-actions[bot] commented 1 month ago

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

claytonchew commented 1 month ago

/keepalive

github-actions[bot] commented 5 days ago

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days