Skip to content

Quiet_archive_local_exec var doesn't work #706

@aldwyn

Description

@aldwyn

Description

I have tried using the var quiet_archive_local_exec in hopes of removing the zip logs, but it turns out the var was just passed to package.py but used at all.

  • ✋ I have searched the open/closed issues and my issue is not listed.

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Module version [Required]: 8.1.0

  • Terraform version: 1.13.0

  • Provider version(s):

Reproduction Code [Required]

Steps to reproduce the behavior:

Just add quiet_archive_local_exec to any sample Lambda module instance.

module "lambda_function" {
  source = "terraform-aws-modules/lambda/aws"

  function_name = "my-lambda1"
  description   = "My awesome lambda function"
  handler       = "index.lambda_handler"
  runtime       = "python3.12"

  source_path = "../src/lambda-function1"
  quiet_archive_local_exec = true
}

Expected behavior

It should silence the zip logs during tf-plan and tf-apply.

Actual behavior

It doesn't silence the zip logs.

Terminal Output Screenshot(s)

None.

Additional context

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions