Skip to main content

NTC Identity Center

Release Notes Implementation Blueprint 🔒   Source Code
Migrating to v2?

NTC Identity Center v2 introduces major improvements including AWS Provider v6 support and AWS European Sovereign Cloud compatibility.

📖 Read the Migration Guide for step-by-step instructions.

Description​

NTC Identity Center streamlines identity and access management (IAM) across your AWS environment by integrating with AWS IAM Identity Center. This building block enables centralized user and group management, providing seamless single sign-on (SSO) access to multiple AWS accounts and applications. With fine-grained access controls and a standardized setup process, NTC Identity Center enforces consistent governance at scale. It also integrates with external identity providers, to align with your organizational needs.

Prerequisites Required

AWS IAM Identity Center must be enabled and configured manually before using this module. This includes enabling Identity Center, configuring your identity source, and setting up external provider integrations if applicable.

For detailed step-by-step instructions, see the Prerequisites documentation.

Usage​

Latest Release2.2.1
Loading usage example from blueprint...

Requirements​

The following requirements are needed by this module:

  • terraform (>= 1.9.0)

  • aws (>= 6.54.0)

Providers​

The following providers are used by this module:

  • aws (>= 6.54.0)

Modules​

The following Modules are called:

ntc_identity_center_encryption_lambda​

Source: ./modules/lambda

Version:

ntc_identity_center_region_1​

Source: ./modules/replica-region

Version:

ntc_identity_center_region_2​

Source: ./modules/replica-region

Version:

ntc_identity_center_region_3​

Source: ./modules/replica-region

Version:

ntc_identity_center_region_4​

Source: ./modules/replica-region

Version:

ntc_identity_center_region_5​

Source: ./modules/replica-region

Version:

Resources​

The following resources are used by this module:

Required Inputs​

No required inputs.

Optional Inputs​

The following input variables are optional (have default values):

account_assignments​

Description: A list of account assignments.

Type:

list(object({
account_name = string,
account_id = string,
permissions = list(object({
permission_set_name = string
users = optional(list(string), [])
groups = optional(list(string), [])
}))
}))

Default: []

arm_based_compute​

Description: Set to true to run the encryption lambda (see 'enable_encryption_at_rest') on arm64 (AWS Graviton) instead of x86_64.

Type: bool

Default: true

enable_encryption_at_rest​

Description: Set to true to encrypt IAM Identity Center at rest with a customer managed multi-region kms key (required for 'replication_config').
The kms key is created by this module and identity center is switched to it automatically (encryption lambda).
Set to false to switch identity center back to an aws owned key. The kms key is scheduled for deletion (7 days) afterwards.
Requires the organization instance of IAM Identity Center in the AWS Organizations management account.

WARNING: All AWS managed applications in use with identity center must support a customer managed kms key before enabling.
Identity center instances already encrypted with a customer managed kms key that is not managed by this module are not supported.

Type: bool

Default: false

is_automatic_provisioning_enabled​

Description: Set to false to provision users and groups with Terraform instead of relying on automatic provisioning via SCIM.
Automatic provisioning must be configured manually in the AWS console.
Automatic provisioning must be disabled to manage users and groups with Terraform.

Type: bool

Default: false

lambda_runtime​

Description: Python runtime of the encryption lambda (see 'enable_encryption_at_rest').

Type: string

Default: "python3.14"

manual_provisioning_sso_groups​

Description: A list of groups to provision in identity store. Automatic provisioning must be disabled to manage groups and membership assignments with Terraform.

Type:

list(object({
group_name = string
group_member_user_names = list(string)
group_description = optional(string, null)
}))

Default: []

manual_provisioning_sso_users​

Description: A list of users to provision in identity store. Automatic provisioning must be disabled to manage users with Terraform.

Type:

list(object({
user_name = string
primary_email = string
first_name = string
last_name = string
}))

Default: []

permission_sets​

Description: A list of permission sets.

Type:

list(object({
name = string
description = string
session_duration = number
relay_state = optional(string, null)
inline_policy_json = string
managed_policies = list(object({
managed_by = string
policy_name = string
policy_path = string
}))
boundary_policy = map(object({
managed_by = string
policy_name = string
policy_path = string
}))
}))

Default: []

region​

Description: Primary region of the IAM Identity Center instance where all resources are administrated. Omit to use the provider default region.

Type: string

Default: null

replication_config​

Description: Replicate IAM Identity Center from the primary region ('region') to up to 5 replica regions.
Each slot creates a multi-region replica kms key and adds the region to identity center.
Slots are processed sequentially (region_1 to region_5) because identity center processes one region addition or removal at a time.
Administration (permission sets, assignments, users and groups) always remains in the primary region.
Requires 'enable_encryption_at_rest' = true and an external identity provider or the Identity Center directory as identity source.
Opt-in regions (e.g. eu-central-2) must be enabled in the management account.

Do not move a region to another slot, this removes and adds the region again.
A removed region can only be added again after the replica kms key deletion window (7 days) has passed.

Type:

object({
region_1 = optional(string, null)
region_2 = optional(string, null)
region_3 = optional(string, null)
region_4 = optional(string, null)
region_5 = optional(string, null)
})

Default: {}

Outputs​

The following outputs are exported:

identity_center_kms_key_arn​

Description: ARN of the multi-region primary kms key used for IAM Identity Center encryption at rest.

identity_center_kms_replica_key_arns​

Description: Map of replica regions and ARNs of the corresponding multi-region replica kms keys.

identity_center_primary_region​

Description: Primary region of the IAM Identity Center instance where all resources are administrated.

identity_center_replica_regions​

Description: Map of IAM Identity Center replica regions and their replication status.

identity_store_arn​

Description: The Amazon Resource Name (ARN) of the SSO Instance.

identity_store_id​

Description: Identity Store ID associated with the Single Sign-On Instance.

sso_group_assignments​

Description: Map of group assignments with Single Sign-On.

sso_permission_sets​

Description: Map of permission sets configured to be used with Single Sign-On.

sso_user_assignments​

Description: Map of user assignments with Single Sign-On.