archive-python

JayDoubleu/archive-python/external

Terraform Module HCL EXTERNAL

Python script to archive files to be used by terraform

Install
module "archive-python" {
source = "JayDoubleu/archive-python/external"
version = "1.0.1"
}
plain text: /constructs/tfmod-jaydoubleu-archive-python-external/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-archive-python Python based terraform module to create the same .zip file across operating systems. Tested against python2/3 linux/windows. Should resolve issues with: - Different operating systems producing diffrent checksums - No longer have to touch/create .zip file before running terraform ``hcl module "archive_lambda" { source = "./" source_dir = "dummy_lambda/" output_path = "dummy_lambda.zip" } resource "aws_lambda_function" "lambda_function" { filename = "${module.archive_lambda.zip_path}" source_code_hash = "${module.archive_lambda.base64sha256}" } ``

Inputs (2)
NameTypeDescriptionDefault
source_dirstring required
output_pathstring required
Outputs (2)
zip_path
base64sha256
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud EXTERNAL
Total downloads796
Inputs2
Outputs2
NamespaceJayDoubleu
Updated