Open vinelias opened 1 year ago
Hi @vinelias,
This is the expected behavior of AFT. To invoke customization runs against accounts, you should use the aft-invoke-customizations
step function..
I've created a backlog item to explore adding a way to configure account pipelines to auto-invoke after a customization change.
@stumins any update on this issue?
I have noticed that the variable customizations_trigger_state_machine_arn
is passed into the state but never used.
I think the easy solution would be to add a state machine call after the step https://github.com/tb102122/terraform-aws-control_tower_account_factory/blob/dc3eb7ce8ceb6e71d935431b164805b9facf270d/modules/aft-account-provisioning-framework/states/aft_account_provisioning_framework.asl.json#L133
What do you think?
Who else it the state aft_invoke_customizations_sfn triggered I can find any reference in the documentation or code
Who else it the state aft_invoke_customizations_sfn triggered I can find any reference in the documentation or code
sorry forget the last part I just found it Re-invoke customizations
Terraform Version & Prov: 1.2.8
AFT Version: 1.6.4 (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 When I change the account_customizations_name parameter in an account request file (.tf) in the aft-account-request repo, the customizations-pipeline for this account is not triggered.
To Reproduce Steps to reproduce the behavior:
Expected behavior What is occurring is the step function aft-account-provisioning-framework is being triggered which has a step to "rebuild" the pipeline but it does not execute the pipeline since no pipeline parameters have changed only the payload. I can force this to run with step function aft-invoke-customizations, but I think the account customizations pipeline should be automatically triggered in this case.