{"id":21213979,"url":"https://github.com/cruxstack/terraform-aws-s3-zip-uploader","last_synced_at":"2026-02-28T23:31:21.025Z","repository":{"id":181048791,"uuid":"666135025","full_name":"cruxstack/terraform-aws-s3-zip-uploader","owner":"cruxstack","description":"Terraform Module to an upload zip to S3 bucket","archived":false,"fork":false,"pushed_at":"2025-11-19T18:58:59.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-19T20:24:54.586Z","etag":null,"topics":["artifact","artifacts","aws","cloudposse","s3","s3-bucket","sweetops","terraform","terraform-module","utility","zip"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/cruxstack/s3-zip-uploader/aws/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cruxstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-13T19:49:15.000Z","updated_at":"2025-11-19T18:58:52.000Z","dependencies_parsed_at":"2024-11-05T23:22:28.730Z","dependency_job_id":"01f75446-afb6-4fa3-b6e3-f5a3ef7dd33e","html_url":"https://github.com/cruxstack/terraform-aws-s3-zip-uploader","commit_stats":null,"previous_names":["sgtoj/terraform-aws-s3-zip-uploader","cruxstack/terraform-aws-s3-zip-uploader"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/cruxstack/terraform-aws-s3-zip-uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-s3-zip-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-s3-zip-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-s3-zip-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-s3-zip-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cruxstack","download_url":"https://codeload.github.com/cruxstack/terraform-aws-s3-zip-uploader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-s3-zip-uploader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29954955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artifact","artifacts","aws","cloudposse","s3","s3-bucket","sweetops","terraform","terraform-module","utility","zip"],"created_at":"2024-11-20T21:25:18.644Z","updated_at":"2026-02-28T23:31:20.995Z","avatar_url":"https://github.com/cruxstack.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Module: AWS S3 ZIP Uploader\n\nThis Terraform module is a utility for uploading the contents of a ZIP file to\nan AWS S3 bucket. It's especially useful when you need to manage an unknown\nnumber of files at plan time, a scenario where Terraform's built-in capabilities\nfall short.\n\n## Features\n\n- Handles an unknown number of files at plan time by working with ZIP files.\n- Uploads a ZIP file from a local path to an S3 bucket.\n- Unzips the ZIP file and uploads its contents to an S3 bucket.\n- Provides customizable options for bucket names and paths.\n- Automatically creates and configures necessary AWS resources.\n\nThis module offers a handy solution for deploying static websites, managing\nlarge data sets, and handling other situations where the number of files can't\nbe determined in advance.\n\n## Usage\n\n```hcl\nmodule \"s3_zip_uploader\" {\n  source  = \"cruxstack/s3-zip-uploader/aws\"\n  version = \"x.x.x\"\n\n  artifact_src_local_path = \"/path/to/yourfile.zip\"\n  artifact_dst_bucket_arn = \"arn:aws:s3:::yourdestinationbucket\"\n}\n```\n\n## Inputs\n\nIn addition to the variables documented below, this module includes several\nother optional variables (e.g., `name`, `tags`, etc.) provided by the\n`cloudposse/label/null` module. Please refer to its [documentation](https://registry.terraform.io/modules/cloudposse/label/null/latest)\nfor more details on these variables.\n\n| Name                       | Description                                                                                                     | Type   | Default                     | Required |\n|----------------------------|-----------------------------------------------------------------------------------------------------------------|--------|-----------------------------|----------|\n| `artifact_src_bucket_arn`  | ARN of the S3 bucket to store the source artifact zip file. Defaults to the destination bucket if not provided. | string | `\"\"`                        | No       |\n| `artifact_src_bucket_path` | Path in the S3 bucket where the source artifact zip file is located.                                            | string | `\"__upload__/artifact.zip\"` | No       |\n| `artifact_src_local_path`  | Local path of the artifact zip file where Terraform is executed.                                                | string | N/A                         | Yes      |\n| `artifact_dst_bucket_arn`  | ARN of the destination S3 bucket to upload the contents of the zip file.                                        | string | N/A                         | Yes      |\n| `artifact_dst_bucket_path` | Path in the destination S3 bucket to upload the contents of the zip file.                                       | string | `\"/\"`                       | No       |\n\n## Outputs\n\n_This module does not currently provide any outputs._\n\n## Contributing\n\nWe welcome contributions to this project. For information on setting up a\ndevelopment environment and how to make a contribution, see [CONTRIBUTING](./CONTRIBUTING.md)\ndocumentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcruxstack%2Fterraform-aws-s3-zip-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcruxstack%2Fterraform-aws-s3-zip-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcruxstack%2Fterraform-aws-s3-zip-uploader/lists"}