PoC Terraform module for automating customization pipeline invokation in Account Factory for Terraform (AFT), bypassing the manual step of triggering the account customization step function manually on changes.
- AFT framework deployed
- AFT repos hosted on Github
Deploys into AFT management account. The module creates workflow for one customization repository, so to enable automatic invokation for both global customization and account customization you need to deploy the module for each repository.
Name | Version |
---|---|
terraform | >= 1.0.0 |
aws | >= 5.11.0, < 6.0.0 |
Name | Version |
---|---|
aws | 5.67.0 |
local | 2.5.2 |
random | 3.6.3 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aft_kms_key_alias | The alias of the KMS key used by AFT. | string |
"alias/aft" |
no |
codepipeline_s3_bucket_name | The name of the S3 bucket to store the CodePipeline artifacts. If not given one will be created. | string |
"" |
no |
codestar_connection_arn | The ARN of the CodeStar connection | string |
"" |
no |
customization_name | The name of the customization | string |
n/a | yes |
customizations_repo_branch | The branch of the repository containing the customizations | string |
n/a | yes |
customizations_repo_name | The name of the repository containing the customizations | string |
n/a | yes |
global_codebuild_timeout | The timeout in minutes for the CodeBuild project | number |
300 |
no |
key_arn | The ARN of the KMS key to use for encrypting the CodePipeline artifacts. If not given one will be created. | string |
"" |
no |
log_retention_days | The number of days to retain logs | number |
7 |
no |
Name | Description |
---|---|
codepipeline_arn | ARN of the CodePipeline |
codepipeline_bucket_arn | ARN of the S3 bucket to store the CodePipeline artifacts |
codepipeline_bucket_name | Name of the S3 bucket to store the CodePipeline artifacts |
codestar_connection_arn | ARN of the CodeStar connection |
invokation_kms_key_arn | ARN of the KMS key used to encrypt the CodePipeline artifacts |