Home

Awesome

Modernisation Platform Terraform IAM Superadmins Module

Standards Icon Format Code Icon Scorecards IconSCA Icon Terraform SCA Icon

This repository holds a Terraform module that creates set IAM accounts and associated configuration, such as: account password policies, administrator groups, user accounts.

Usage

module "iam" {
  source        = "github.com/ministryofjustice/modernisation-platform-terraform-iam-superadmins"
  account_alias = "aws-account-alias"
}

Inputs

NameDescriptionTypeDefaultRequired
account_aliasAWS IAM account alias for this accountstringn/ayes

Outputs

NameDescriptionSensitive
superadmin_passwordsPGP-encrypted passwords for IAM users, if a pgp_key is specifiedno

First-sign in and changing a password

The included force_mfa IAM policy doesn't allow a user to change their password without MFA enabled. When onboarding a new superadmin, they will need to configure MFA before logging in for the first time.

Looking for issues?

If you're looking to raise an issue with this module, please create a new issue in the Modernisation Platform repository.