{"id":34140603,"url":"https://github.com/odg0318/packer-post-processor-shell-with-imageid","last_synced_at":"2026-03-12T13:35:49.870Z","repository":{"id":64307934,"uuid":"76022391","full_name":"odg0318/packer-post-processor-shell-with-imageid","owner":"odg0318","description":"This is a plugin of packer post-processor to run script after provioners on googlecompute or amazon.","archived":false,"fork":false,"pushed_at":"2016-12-13T03:51:40.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-17T15:35:37.513Z","etag":null,"topics":["aws","golang","googlecloud","packer","packer-post-processor"],"latest_commit_sha":null,"homepage":"","language":"Go","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/odg0318.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}},"created_at":"2016-12-09T09:42:33.000Z","updated_at":"2017-07-28T04:54:07.000Z","dependencies_parsed_at":"2023-01-15T11:00:53.864Z","dependency_job_id":null,"html_url":"https://github.com/odg0318/packer-post-processor-shell-with-imageid","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/odg0318/packer-post-processor-shell-with-imageid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odg0318%2Fpacker-post-processor-shell-with-imageid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odg0318%2Fpacker-post-processor-shell-with-imageid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odg0318%2Fpacker-post-processor-shell-with-imageid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odg0318%2Fpacker-post-processor-shell-with-imageid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odg0318","download_url":"https://codeload.github.com/odg0318/packer-post-processor-shell-with-imageid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odg0318%2Fpacker-post-processor-shell-with-imageid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30427339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T12:46:33.731Z","status":"ssl_error","status_checked_at":"2026-03-12T12:42:20.405Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["aws","golang","googlecloud","packer","packer-post-processor"],"created_at":"2025-12-15T02:48:49.209Z","updated_at":"2026-03-12T13:35:49.861Z","avatar_url":"https://github.com/odg0318.png","language":"Go","readme":"# packer-post-processor-shell-with-imageid\nThis is a plugin of packer post-processor to run script after provioners on googlecompute or amazon.\n\nUsage\n=====\n* go get https://github.com/odg0318/packer-post-processor-shell-with-imageid\n* cd $GOPATH/github.com/odg0318/packer-post-processor-shell-with-imageid\n* make install\n\nExample\n=======\ntemplate.json\n```json\n\"post-processors\": [\n  {\n    \"type\": \"shell-with-imageid\",\n    \"script\": \"post-processor\"\n  }\n]\n```\n\npost-processor\n```bash\n#!/bin/bash\n\n# $1: builder [amazon-ebs, googlecompute], $2: image_id\n\nif [ \"$1\" == \"amazon-ebs\" ]\nthen\n        python scripts/add_launching_configuration.py $2\nfi\n\nif [ \"$1\" == \"googlecompute\" ]\nthen\n        python scripts/add_instance_template.py $2\nfi\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodg0318%2Fpacker-post-processor-shell-with-imageid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodg0318%2Fpacker-post-processor-shell-with-imageid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodg0318%2Fpacker-post-processor-shell-with-imageid/lists"}