aws-ia / terraform-aws-control_tower_account_factory

AWS Control Tower Account Factory
Apache License 2.0
619 stars 409 forks source link

Error: reading ZIP file while deploying AFT #475

Open lironsi opened 1 month ago

lironsi commented 1 month ago

Hello, I'm trying to deploy AFT in my organization and get the following error -

 │ Error: reading ZIP file (.terraform/modules/aft/modules/aft-archives/../../src/aft_lambda/aft_builder.zip): open .terraform/modules/aft/modules/aft-archives/../../src/aft_lambda/aft_builder.zip: no such file or directory
│ 
│   with module.aft.module.aft_lambda_layer.aws_lambda_function.codebuild_trigger,
│   on .terraform/modules/aft/modules/aft-lambda-layer/lambda.tf line 6, in resource "aws_lambda_function" "codebuild_trigger":
│    6: resource "aws_lambda_function" "codebuild_trigger" {

the module source I set is "github.com/aws-ia/terraform-aws-control_tower_account_factory"

Please advise, this is a real blocker.. Thanks Liron

cyrildmoses commented 1 month ago

Hi @lironsi,

I encountered the same error while deploying AFT through CodePipeline. Have you found a solution for this issue?

Thanks!