{"id":15962289,"url":"https://github.com/albertogeniola/packer-tf-module","last_synced_at":"2026-01-19T10:33:26.527Z","repository":{"id":204088702,"uuid":"711084414","full_name":"albertogeniola/packer-tf-module","owner":"albertogeniola","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-28T13:01:14.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T22:19:16.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albertogeniola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-10-28T06:59:33.000Z","updated_at":"2025-01-30T20:55:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"98ec0664-cb8c-4dd8-824f-c2d153bc8d1b","html_url":"https://github.com/albertogeniola/packer-tf-module","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"90c7790e68e920dd366a358f0f3519e550afac53"},"previous_names":["albertogeniola/packer-tf-module"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertogeniola%2Fpacker-tf-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertogeniola%2Fpacker-tf-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertogeniola%2Fpacker-tf-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertogeniola%2Fpacker-tf-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertogeniola","download_url":"https://codeload.github.com/albertogeniola/packer-tf-module/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247175913,"owners_count":20896374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-07T16:02:37.806Z","updated_at":"2026-01-19T10:33:26.488Z","avatar_url":"https://github.com/albertogeniola.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform + Packer integration example\nThis repository shows a way of integrating packer within terraform, without using any custom or external terraform provider.\n\n## Repository structure\nThis repository contains two main relevant folders:\n- modules/packer_module\n- example\n\nThe first one, `modules/poacker_module`, contains an example of a packer_module that can be customized to build a Google Compute Engine image.\nThe second one, `example`, contains a simple terraform project that shows how to use the module.\n\n## Usage example\nYou can find a complete example in the `example` folder. However, for a quick start, you can simply do the following:\n1. Download the module named \"packer_module\" and put it into your /modules folder within your terraform project\n2. Declare the module into your terraform project and fill in the module parameters as necessary\n3. Run `terraform init`\n4. Run `terraform apply`\n\nHere there is an example:\n\n```hcl\nmodule \"my_packer_image\" {\n  source = \"\u003cPATH_TO_THE_DOWNLOADED_MODULE\u003e\"\n\n  builder_project_id = \"my-gcp-project-id\"  # Replace it with your GCP project id\n  builder_region     = \"europe-west3\"       # Specify the GCP region and zone \n  builder_zone       = \"europe-west3-b\"     #  where to spawn the builder VM\n\n  source_image_family = \"debian-11\"         # Image family to build from\n  target_image_name   = \"my-image\"          # Name and family name to assign \n  target_image_family = \"test\"              #  to the built image\n\n  builder_network_name = \"random-tests\"     # Network and subnet names \n  builder_subnet_name = \"random-frankfurt\"  #  for the builder VM\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertogeniola%2Fpacker-tf-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertogeniola%2Fpacker-tf-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertogeniola%2Fpacker-tf-module/lists"}