AFT Control Tower - rollback customization

0

Hi, Is there a way to rollback the customization applied through AFT? For example, how to rollback the "aws_s3_account_public_access_block" created resource deployed as a global customization. For removing a provisioned account, the documentation exists, but nothing on rolling back customizations only. Thank you.

RoxTeo
질문됨 일 년 전326회 조회
1개 답변
1

Hi There

AFT provides a way to re-invoke customizations in the AFT pipeline. This method is useful when you’ve added a new customization step, or when you are making changes to an existing customization. See https://docs.aws.amazon.com/controltower/latest/userguide/aft-account-customization-options.html#aft-re-invoke-customizations

profile pictureAWS
전문가
Matt-B
답변함 일 년 전
  • Hi Matt-B,

    Thank you for replying. I've tested the proposed solution by re-invoking the AFT pipeline as described in the guide. The re-invoke works as expected, however the resource that I was expecting to be removed from the targeted account did not get deleted. What I did is that I commented the terraform resource in the main.tf file and re-invoked the aft-account-customizations pipeline. Maybe I'm missing something or maybe it is not enough to just comment the resource in that file.

    UPDATE: I've just noticed that it worked by commenting the resource block and re-invoking the pipeline. It just takes a while 10-15 minutes to take effect and this is why I concluded it did not work. Thanks again for the help!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠