Skip to main content

NTC Account Lifecycle Templates

Module
ntc-account-lifecycle-templates
Latest release
2.0.0
Released
Provider
AWS
Domain
Templates

Description​

NTC Account Lifecycle Templates automate and customize the lifecycle management of AWS accounts, ensuring they are provisioned, maintained, and decommissioned according to best practices. This building block handles tasks such as cleaning up new accounts (e.g. deleting default VPCs) and moving decommissioned accounts into isolation for compliance and security purposes.

By streamlining account lifecycle processes, NTC Account Lifecycle Templates ensure consistency, governance, and operational efficiency across your AWS multi-account environment.

info

NTC Account Lifecycle Templates can be easily customized and then applied via NTC Account Factory.

Usage​

Loading the usage example from the implementation blueprint.

Requirements​

The following requirements are needed by this module:

  • terraform (>= 1.5.0)

  • aws (>= 6.0)

  • local (>=2.4.0)

Providers​

The following providers are used by this module:

  • aws (>= 6.0)

  • local (>=2.4.0)

Modules​

No modules.

Resources​

The following resources are used by this module:

Required Inputs​

The following input variables are required:

account_lifecycle_customization_templates​

Description: List of templates which should be used to generate Account Lifecycle Customization lambda steps.

Type:

list(object({
template_name = string
organizations_event_trigger = string
organizations_member_role = optional(string, "OrganizationAccountAccessRole")
default_region = optional(string, null)
opt_in_regions = optional(list(string), [])
suspended_ou_id = optional(string, "")
company_name = optional(string, "")
cc_email_addresses = optional(list(string), [])
quota_increases = optional(list(object({
region = string
quota_code = optional(string, null)
quota_name = optional(string, null)
service_code = string
value = number
})), [])
shared_resources_regions = optional(list(string), [])
account_alias_tag_key = optional(string, "AccountAlias")
}))

Optional Inputs​

No optional inputs.

Outputs​

The following outputs are exported:

account_lifecycle_customization_steps​

Description: Account Lifecycle Customization steps grouped by template name.