archive

glenngillen/archive/gg

Terraform Module HCL GG

Terraform module with alternative configuration options for generating archives

Install
module "archive" {
source = "glenngillen/archive/gg"
version = "1.0.0"
}
plain text: /constructs/tfmod-glenngillen-archive-gg/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Archive Module I needed more control of the way archive files were generated, how the directories within them were mapped, and the compression level. So I wrote this module that will shell out to zip to produce a compressed file. Usage ``hcl module "archive" { source = "glenngillen/archive/module" version = "1.0.0" output_file = "${path.cwd}/${random_id.this.hex}.zip" working_dir = "my/working/dir" source_dir = "my/source/dir" } ``

Inputs (4)
NameTypeDescriptionDefault
working_dirstring required
output_filestring required
source_dirstring required
triggersmap{}
Outputs (2)
output_file
source_code_hash
Resources (1)
null_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud GG
★ Stars0
Forks0
Total downloads217
Inputs4
Outputs2
Resources1
LicenseApache-2.0
Namespaceglenngillen
Updated