Closed vippr1237 closed 9 months ago
Hey @vippr1237!
This is a known issue that will not be fixed in the 1.x major version. Please see https://github.com/aws-ia/terraform-aws-control_tower_account_factory/issues/200#issuecomment-1178227617 for more details. Sorry for this inconvenience.
AFT Version: 1.10.4 (Latest)
Terraform Version & Provider Versions Please provide the outputs of
terraform version
andterraform providers
from within your AFT environmentterraform version
terraform providers
Bug Description Function
aft_delete_default_vpcs
is using incorrect session when deleting default VPCs causing lambda to delete the VPC in AFT account instead of VPC account.To Reproduce Steps to reproduce the behavior:
Expected behavior Default VPC in all regions should be deleted in target account instead of AFT account when setting
aft_feature_delete_default_vpcs_enabled
to trueAdditional context Current I workaround by changing the session like below:
src/aft_lambda/aft_feature_options/aft_delete_default_vpc.py