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"
}
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)
| Name | Type | Description | Default |
|---|---|---|---|
| source_dir | string | required | |
| output_path | string | required |
Outputs (2)
zip_pathbase64sha256Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud EXTERNAL
Total downloads796
Inputs2
Outputs2
NamespaceJayDoubleu
Updated