NTC Account Lifecycle 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.
NTC Account Lifecycle Templates can be easily customized and then applied via NTC Account Factory.
Usage​
| Latest Release | 2.0.0 |
|---|
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:
- aws_organizations_organization.current (data source)
- aws_partition.current (data source)
- aws_region.default (data source)
- local_file.ntc_check_if_template_exists (data source)
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.