You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hey all, the zips are created in the terraform plan stage so if you are running plan and apply in separate ci/cd stages and running terraform apply {plan-file} then you also need to be sure to pass the zips from the plan artifacts to the apply stage.
For example, if you are using gitlab pipelines something like the following should work for you:
artifacts:
paths:
- "${CI_PROJECT_DIR}/.terraform/modules/aft/src/aft_lambda/*.zip"
expire_in: 1 day
Hello,
I'm trying to deploy AFT in my organization and get the following error -
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
The text was updated successfully, but these errors were encountered: