Bug Description
Every time the AFT module is invoked, the CodeBuild job to build the Lambda layer is invoked. This is very frustrating and wasteful, as we don't need to build the layer every single time.
To Reproduce
Steps to reproduce the behavior:
Plan Terraform with AFT in the configuration.
Expected behavior
CodeBuild should only be invoked when the layer will be changed.
Additional context
I have forked this repository and applied the required patch: https://github.com/jack-parsons-bjss/terraform-aws-control_tower_account_factory
I can see that you are not accepting contributions at this time, so I raised this issue instead - AFT is part of our Landing Zone deployment, while we are rapidly iterating this is very frustrating for us
Terraform Version & Prov: 1.7.0
AFT Version: 1.11.1 (Can be found in the AFT Management Account in the SSM Parameter
/aft/config/aft/version
)Terraform Version & Provider Versions Please provide the outputs of
terraform version
andterraform providers
from within your AFT environmentterraform version
terraform providers
Bug Description Every time the AFT module is invoked, the CodeBuild job to build the Lambda layer is invoked. This is very frustrating and wasteful, as we don't need to build the layer every single time.
To Reproduce Steps to reproduce the behavior: Plan Terraform with AFT in the configuration.
Expected behavior CodeBuild should only be invoked when the layer will be changed.
Additional context I have forked this repository and applied the required patch: https://github.com/jack-parsons-bjss/terraform-aws-control_tower_account_factory I can see that you are not accepting contributions at this time, so I raised this issue instead - AFT is part of our Landing Zone deployment, while we are rapidly iterating this is very frustrating for us